PHP code example of pezzetti / ie-validator

1. Go to this page and download the library: Download pezzetti/ie-validator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pezzetti / ie-validator example snippets




use Pezzetti\InscricaoEstadual\Util\Validator;
use Pezzetti\InscricaoEstadual\Util\Mask;
use Pezzetti\InscricaoEstadual\Util\States;

Validator::check(States::SP,'231.247.190.013');

Mask::getIEForUF(States::SP,'241205090864');