PHP code example of mg-code / yii2-assets
1. Go to this page and download the library: Download mg-code/yii2-assets 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/ */
mg-code / yii2-assets example snippets
\mgcode\assets\AwesomeGridAsset::register($this);
namespace app\assets;
use yii\web\AssetBundle;
class MyAsset extends AssetBundle
{
...
public $depends = [
'mgcode\assets\AwesomeGridAsset',
];
}
return [
..... application configuration ....
'params' => [
'intlJsLocale' => 'en-US',
...
]
];
$ php composer.phar
$ php composer.phar
"bower-asset/blueimp-file-upload": "*"