PHP code example of basselin / php-minify
1. Go to this page and download the library: Download basselin/php-minify 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/ */
basselin / php-minify example snippets
$phpMinify = new PhpMinify(array(
'source' => './',
'target' => './demo/',
));
var_dump($phpMinify->run());