PHP code example of pipa7 / yii2-admin-bsb-material-design
1. Go to this page and download the library: Download pipa7/yii2-admin-bsb-material-design 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/ */
pipa7 / yii2-admin-bsb-material-design example snippets
'pipa7\adminbsb\assets\ThemeAsset'
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace app\assets;
use yii\web\AssetBundle;
/**
* @author Qiang Xue <[email protected]>
* @since 2.0
*/
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.css',
];
public $js = [
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
'pipa7\adminbsb\assets\ThemeAsset'
];
}
php composer.phar