PHP code example of assayer-pro / yii2-asset-clean

1. Go to this page and download the library: Download assayer-pro/yii2-asset-clean 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/ */

    

assayer-pro / yii2-asset-clean example snippets


'controllerMap' => [
    'asset' => [
        'class' => 'assayer-pro\assetClean\AssetController',
    ],
],

'controllerMap' => [
    'asset' => [
        'class' => 'assayer-pro\assetClean\AssetController',
        'ignoreDirs' => ['js', 'css'],
    ],
],