PHP code example of yooper / nicknames

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

    

yooper / 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');