avlima/php-cpf-cnpj-generator

Brazilian document generator

Installs: 8 801

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/avlima/php-cpf-cnpj-generator

1.0.0 2022-01-13 21:58 UTC

This package is auto-updated.

Last update: 2025-10-14 21:27:21 UTC


README

Packagist PHP from Packagist GitHub license Total Downloads

Brazilian document generator for PHP

Star ⭐ repo to show suport 😊

Installation

Install Package

Require this package with composer:

composer require avlima/php-cpf-cnpj-generator

Usage

Add the class use Avlima\PhpCpfCnpjGenerator\Generator; to your file:

Generator::cpf();
- output: 84255523037

Generator::cpf(true);
- output: 842.555.230-37

Generator::cnpj();
- output: 14905492000179

Generator::cnpj(true);
- output: 14.905.492/0001-79

Thanks

## Support
Feel free to post your issues in the issues section.

## Credits
Developed by [Alberto Lima](https://github.com/avlima "Alberto Vieira de Lima")

## License
MIT