corviz/br-gpdpl
Composer 安装命令:
composer require corviz/br-gpdpl
包简介
A lib that provides a series of data anonymizers, compliant with brazilian General Personal Data Protection Law (aka LGPD, in pt-br)
关键字:
README 文档
README
This lib provides a series of data anonymizer classes, compliant with brazilian General Personal Data Protection Law (aka LGPD, in pt-br)
What is GPDPL (or LGPD)?
According to Wikipedia,
The General Personal Data Protection Law (Brazil) 13709/2018 (Portuguese: Lei Geral de Proteção de Dados Pessoais, or LGPD), is a statutory law on data protection and privacy in the Federative Republic of Brazil. The law's primary aim is to unify 40 different Brazilian laws that regulate the processing of personal data. The LGPD contains provisions and requirements related to the processing of personal data of individuals, where the data is of individuals located in Brazil, where the data is collected or processed in Brazil, or where the data is used to offer goods or services to individuals in Brazil.
The LGPD became law on September 18, 2020 but its enforceability was backdated August 16, 2020. Sanctions under the regulation will only be applied from August 1, 2021.
The national data protection authority responsible for enforcement of the LGPD is the Autoridade Nacional de Proteção de Dados, or ANPD.
Further information can be found at: https://en.wikipedia.org/wiki/General_Personal_Data_Protection_Law
Installation
Installing via composer CLI:
composer require corviz/br-gpdpl
Or add the following to your composer.json
{
"require": {
"corviz/br-gpdpl": "1.*"
}
}
Usage examples
use Corviz\BrGpdpl\Anonymizer\GenericAnonymizer; $text = 'my content'; $anonymizer = new GenericAnonymizer($text); echo $anonymizer->anonymized(); //**********
use Corviz\BrGpdpl\Anonymizer\CreditCardNumberAnonymizer; $cardNumber = '1234 5678 9012 3456'; $anonymizer = new CreditCardNumberAnonymizer($cardNumber); echo $anonymizer->anonymized(); //1234 56** **** 3456
corviz/br-gpdpl 适用场景与选型建议
corviz/br-gpdpl 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.45k 次下载、GitHub Stars 达 16, 最近一次更新时间为 2021 年 03 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「anonymization」 「lgpd」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 corviz/br-gpdpl 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 corviz/br-gpdpl 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 corviz/br-gpdpl 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
COOKiES JSR is a consent management tool and provides UI and API to manage 3rd party services within the GDPR.
Export and import your database tables with fake data
Symfony-based CLI tool for Magento developers
Laravel database export package with profile-based exclusions, anonymization, and zero-impact exports
Pull a sanitized copy of your production database to local/staging environments
统计信息
- 总下载量: 14.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 37
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-22