PHP code example of yii-ui / yii2-material-design-icons
1. Go to this page and download the library: Download yii-ui/yii2-material-design-icons 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/ */
yii-ui / yii2-material-design-icons example snippets
\yiiui\yii2materialdesignicons\MaterialDesignIconsAsset::register($this);
namespace app\assets;
use yii\web\AssetBundle;
class AppAsset extends AssetBundle
{
public $sourcePath = '@app/assets';
public $js = [
'js/main.js',
];
public $css = [
'css/main.scss',
];
public $depends = [
'yiiui\yii2materialdesignicons\MaterialDesignIconsAsset'
];
}