Skip to content

avlima/php-cpf-cnpj-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Brazilian document generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages