PHP code example of defyma / yii2-minifier
1. Go to this page and download the library: Download defyma/yii2-minifier 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/ */
defyma / yii2-minifier example snippets
php composer.phar
\defyma\helper\Minifier::begin();
\defyma\helper\Minifier::end();
<!-- Minifier Begin -->
\defyma\helper\Minifier::begin();