PHPackages                             corviz/br-gpdpl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. corviz/br-gpdpl

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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)

v1.2.1(3y ago)1613.6k↓40%4MITPHPPHP &gt;=7.2

Since Mar 22Pushed 3y ago3 watchersCompare

[ Source](https://github.com/Corviz/br-gpdpl-php)[ Packagist](https://packagist.org/packages/corviz/br-gpdpl)[ RSS](/packages/corviz-br-gpdpl/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

br-gpdpl-php
============

[](#br-gpdpl-php)

This lib provides a series of data anonymizer classes, compliant with brazilian General Personal Data Protection Law (aka LGPD, in pt-br)

[![StyleCI](https://camo.githubusercontent.com/e704f591f0966fa8ffdc234897656be7273828703bf54f27af1ee1bec6b99b49/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3334383737383632392f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/348778629?branch=main)[![Build Status](https://camo.githubusercontent.com/cdc56b3c9c9665ba4791702246473b5146a060bd7f1dc7d6a2ded04ec1642e24/68747470733a2f2f7472617669732d63692e6f72672f436f7276697a2f62722d677064706c2d7068702e7376673f6272616e63683d6d61696e)](https://travis-ci.org/Corviz/br-gpdpl-php)[![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)

What is GPDPL (or LGPD)?
------------------------

[](#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](https://en.wikipedia.org/wiki/General_Personal_Data_Protection_Law)

Installation
------------

[](#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
--------------

[](#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
```

[See complete list of examples...](https://corviz.github.io/br-gpdpl-php/)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~155 days

Total

4

Last Release

1418d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5069326?v=4)[Carlos Alberto Bertholdo Carucce](/maintainers/carloscarucce)[@carloscarucce](https://github.com/carloscarucce)

---

Top Contributors

[![carloscarucce](https://avatars.githubusercontent.com/u/5069326?v=4)](https://github.com/carloscarucce "carloscarucce (44 commits)")[![rodrigo-dechen](https://avatars.githubusercontent.com/u/5004207?v=4)](https://github.com/rodrigo-dechen "rodrigo-dechen (1 commits)")

---

Tags

anonymizationlgpdphp-librarylgpdanonymization

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/corviz-br-gpdpl/health.svg)

```
[![Health](https://phpackages.com/badges/corviz-br-gpdpl/health.svg)](https://phpackages.com/packages/corviz-br-gpdpl)
```

###  Alternatives

[laraveljutsu/zap

A flexible, performant, and developer-friendly schedule management system for Laravel

1.4k69.1k](/packages/laraveljutsu-zap)[jxlwqq/json-editor

JSON Editor for Laravel-admin

32101.8k](/packages/jxlwqq-json-editor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
