PHP code example of yzchan / yii2-asset-provider

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

    

yzchan / yii2-asset-provider example snippets


return [
    'aliases' => [
        '@bower' => '@vendor/yzchan/yii2-asset-provider/bower-asset',
        '@npm'   => '@bower',
    ],
    // ... other configure
]