PHP Classes


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


Class file image Download

CPF Validator

A Laravel package to work with CPF validation.

CPF is an individual taxpayer identification number given to people living in Brazil, both native Brazilians and resident foreigners.


` composer install thiagoprz/cpf-validator`



namespace App\Http\Controllers;

use Illuminate\Http\Request;

class CpfController extends Controller
     * Store action
    public function store(Request $request)
        $this->validate($request, [
            'cpf' => 'cpf', // CPF validation
For more information send a message to info at phpclasses dot org.