Star ⭐ repo to show suport 😊
Require this package with composer:
composer require avlima/php-cpf-cnpj-generator
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
## 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