PHP code example of mohammedalkutrani / validator
1. Go to this page and download the library: Download mohammedalkutrani/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/ */
mohammedalkutrani / validator example snippets
Array
(
[name] => Array
(
[0] => the name should be a number
[1] => the name should shorter then 4
)
[age] => Array
(
[0] => the age should be an email
)
)