PHP code example of anglemx / mexico-curp
1. Go to this page and download the library: Download anglemx/mexico-curp 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/ */
anglemx / mexico-curp example snippets
echo (CURP::isValid('BAD-CURP-STRING') ? 'Yes' : 'No'); // No
bash
php vendor/bin/phpunit tests/CurpTest.php