Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2019-07-19 (15 days ago)  | | Not yet rated by the users | | Total: Not yet counted | | Not yet ranked |
|
Description | | Author |
This package is specific mainly for applications used in Brazil  .
This package can be used to validate Brazilian company tax id with Laravel.
It provides one class that can validate a Brazilian company tax identifier numbers by performing a calculation that is verified against check digits.
The package also provides a Laravel service provide class, so the validation process can be integrated in Laravel applications. | |
 |
|
Innovation award
 Nominee: 2x |
|
Details
CNPJ Validator
A Laravel package to work with CNPJ validation.
CNPJ is the National Reistry of Legal Entities in Brazil.
Installation
` composer install thiagoprz/cnpj-validator
`
Usage
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class CnpjController extends Controller
{
...
/
* Store action
*/
public function store(Request $request)
{
$this->validate($request, [
'cnpj' => 'cnpj', // CNPJ validation
...
]);
...
}
...
}
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.