PHP code example of richardkeep / validate

1. Go to this page and download the library: Download richardkeep/validate 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/ */

    

richardkeep / validate example snippets


return [
    'rules' => [
        'password' => '

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
@

/**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        'validate'
    ];

'rules' => [
    'password' => ' 
];