PHP code example of romdim / yii2-bootstrap-material
1. Go to this page and download the library: Download romdim/yii2-bootstrap-material 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/ */
romdim / yii2-bootstrap-material example snippets
$config = [
...
'components' => [
...
'assetManager' => [
'class' => 'yii\web\AssetManager',
'appendTimestamp' => true,
'bundles' => [
...
'romdim\bootstrap\material\BootMaterialCssAsset' => [
'css' => [
YII_ENV_DEV ? 'css/ripples.css' : 'css/ripples.min.css',
YII_ENV_DEV ? 'css/material.css' : 'css/material.min.css',
]
],
'romdim\bootstrap\material\BootMaterialJsAsset' => [
'js' => [
YII_ENV_DEV ? 'js/ripples.js' : 'js/ripples.min.js',
YII_ENV_DEV ? 'js/material.js' : 'js/material.min.js',
]
]
...
]
]
...
]
...
]