{"id":19921112,"url":"https://github.com/corviz/br-gpdpl-php","last_synced_at":"2025-05-03T06:31:17.908Z","repository":{"id":41334187,"uuid":"348778629","full_name":"Corviz/br-gpdpl-php","owner":"Corviz","description":"This lib provides a series of data anonymizers, compliant with brazilian General Personal Data Protection Law (aka LGPD, in pt-br)","archived":false,"fork":false,"pushed_at":"2022-06-30T18:35:41.000Z","size":60,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-26T04:35:04.713Z","etag":null,"topics":["anonymization","lgpd","php-library"],"latest_commit_sha":null,"homepage":"https://corviz.github.io/br-gpdpl-php/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Corviz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-17T16:30:51.000Z","updated_at":"2025-02-20T11:46:14.000Z","dependencies_parsed_at":"2022-08-31T05:02:03.413Z","dependency_job_id":null,"html_url":"https://github.com/Corviz/br-gpdpl-php","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corviz%2Fbr-gpdpl-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corviz%2Fbr-gpdpl-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corviz%2Fbr-gpdpl-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corviz%2Fbr-gpdpl-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Corviz","download_url":"https://codeload.github.com/Corviz/br-gpdpl-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252154738,"owners_count":21702983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anonymization","lgpd","php-library"],"created_at":"2024-11-12T22:06:43.092Z","updated_at":"2025-05-03T06:31:14.621Z","avatar_url":"https://github.com/Corviz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# br-gpdpl-php\n\nThis lib provides a series of data anonymizer classes, compliant with brazilian General Personal Data Protection Law (aka LGPD, in pt-br)\n\n[![StyleCI](https://github.styleci.io/repos/348778629/shield?branch=main)](https://github.styleci.io/repos/348778629?branch=main)\n[![Build Status](https://travis-ci.org/Corviz/br-gpdpl-php.svg?branch=main)](https://travis-ci.org/Corviz/br-gpdpl-php)\n[![PHP Composer](https://github.com/Corviz/br-gpdpl-php/actions/workflows/php.yml/badge.svg)](https://github.com/Corviz/br-gpdpl-php/actions/workflows/php.yml)\n\n## What is GPDPL (or LGPD)?\n\nAccording to Wikipedia,\n\nThe 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.\n\nThe 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.\n\nThe national data protection authority responsible for enforcement of the LGPD is the Autoridade Nacional de Proteção de Dados, or ANPD.\n\nFurther information can be found at: https://en.wikipedia.org/wiki/General_Personal_Data_Protection_Law\n\n## Installation\n\nInstalling via composer CLI:\n```\ncomposer require corviz/br-gpdpl\n```\n\nOr add the following to your composer.json\n\n```\n{\n  \"require\": {\n    \"corviz/br-gpdpl\": \"1.*\"\n  }\n}\n```\n\n## Usage examples\n\n```php\nuse Corviz\\BrGpdpl\\Anonymizer\\GenericAnonymizer;\n\n$text = 'my content';\n$anonymizer = new GenericAnonymizer($text);\n\necho $anonymizer-\u003eanonymized(); //**********\n```\n\n```php\nuse Corviz\\BrGpdpl\\Anonymizer\\CreditCardNumberAnonymizer;\n\n$cardNumber = '1234 5678 9012 3456';\n$anonymizer = new CreditCardNumberAnonymizer($cardNumber);\n\necho $anonymizer-\u003eanonymized(); //1234 56** **** 3456\n```\n\n[See complete list of examples...](https://corviz.github.io/br-gpdpl-php/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorviz%2Fbr-gpdpl-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorviz%2Fbr-gpdpl-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorviz%2Fbr-gpdpl-php/lists"}