PHP code example of ragonzalezm19 / rut-validator
1. Go to this page and download the library: Download ragonzalezm19/rut-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/ */
ragonzalezm19 / rut-validator example snippets
agonzalezm19\RutValidator\RutValidator;
if(RutValidator::validate('RUT'))
{
echo 'Rut Valido';
}
else
{
echo 'Rut no Valido';
}