PHP code example of chi-php-ug / good-time-playground
1. Go to this page and download the library: Download chi-php-ug/good-time-playground 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/ */
chi-php-ug / good-time-playground example snippets
use ChiPhp\Playground\SillySiteMorpher;
use ChiPhp\Playground\Morphers\BathroomMorpher;
$ssm = new SillySiteMorpher('http://example.com');
$morpher = new BathroomMorpher();
$content = $ssm->morph($morpher);
echo $content; // Now with some bathroom flare!
use ChiPhp\Playground\Morphers\Bathroom;
$morpher = new BathroomMorpher();
json
{
"hi-php-ug/good-time-playground": "~0.0"
}
}