PHP Classes


Recommend this page to a friend!
  Classes of Thiago Przyczynski  >  PHP Validate CNPJ  >  >  Download  
Role: Documentation
Content type: text/markdown
Description: Read me
Class: PHP Validate CNPJ
Validate Brazilian company tax id with Laravel
Author: By
Last change:
Date: 3 years ago
Size: 559 bytes


Class file image Download

CNPJ Validator

A Laravel package to work with CNPJ validation.

CNPJ is the National Reistry of Legal Entities in Brazil.


` composer install thiagoprz/cnpj-validator`



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
For more information send a message to info at phpclasses dot org.