diff --git a/README.md b/README.md index a899582..7e49d56 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,39 @@ $cnpj = new CNPJ(); echo $cnpj->generate(); ``` +### Validar CPF +``` +isValid('64893836757') ); + +//output: true +``` + +### Validar CNPJ +``` +isValid('77496644000147') ); + +//output: true +``` + # To-do list * [X] CPF Generator -* [ ] CPF Validator +* [X] CPF Validator * [X] CNPJ Generator -* [ ] CNPJ Validator +* [X] CNPJ Validator * [ ] User data * [X] Include in [packagist](https://packagist.org/) \ No newline at end of file