PHP code example of phlak / coffee-codename

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

    

phlak / coffee-codename example snippets


use PHLAK\Cafelias;

$codename = new Cafelias\Codename();
// or
$codename = Cafelias\Codename::make();
// or
$codename = cafelias();

echo $codename; // Something like 'vanilla-cortado'