PHP code example of batdan / nicknames
1. Go to this page and download the library: Download batdan/nicknames 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/ */
batdan / nicknames example snippets
use Yooper\Nicknames;
$nicknames = new Nicknames();
// the passed in values are automatically normalized to lowercase
$names = $nicknames->query('Joe');
// nicknames also supports fuzzy matching
$nicknames->fuzzy('oe');