PHP code example of veasin / nx-filter-from
1. Go to this page and download the library: Download veasin/nx-filter-from 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/ */
veasin / nx-filter-from example snippets
$data=$this->filter([
'id'=>['int', 'query', '>'=>0, 'error'=>400, 'null'=>'throw'],
], ['error'=>404]);