PHP code example of amattu2 / php-filter
1. Go to this page and download the library: Download amattu2/php-filter 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/ */
amattu2 / php-filter example snippets
Filter::*input*(string $var)
Filter::*nonNumeric*(int|string|double|float $var)
Filter::*nonAlpha*(mixed $var)
Filter::*nonAlphaNumeric*(mixed $var)
Filter::*fileName*(string $var)
Filter::*number*(int|string $var)