avlima / php-cpf-cnpj-generator
Brazilian document generator
Installs: 5 538
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
This package is auto-updated.
Last update: 2024-12-14 19:40:59 UTC
README
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