PHP code example of znframework / package-validation

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

    

znframework / package-validation example snippets


 N::run();

use ZN\Request\Post;

Post::username('ExampleUser');
Post::password('1234');

Validation::rules('username', [');