PHP code example of hylianshield / validator-alphabet
1. Go to this page and download the library: Download hylianshield/validator-alphabet 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/ */
hylianshield / validator-alphabet example snippets
use \HylianShield\Alphabet\Alphabet;
use \HylianShield\Validator\Alphabet\AlphabetValidator;
$alphabet = new Alphabet('A', 'B', 'C');
$validator = new AlphabetValidator($alphabet);
echo $validator->getIdentifier();