https://github.com/yii-ui/yii2-material-design-icons
Yii2 Asset for Material Design Icons.
https://github.com/yii-ui/yii2-material-design-icons
design icons matrial yii2 yii2-asset yii2-extension
Last synced: 4 months ago
JSON representation
Yii2 Asset for Material Design Icons.
- Host: GitHub
- URL: https://github.com/yii-ui/yii2-material-design-icons
- Owner: yii-ui
- License: mit
- Archived: true
- Created: 2018-06-18T07:34:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T15:06:33.000Z (almost 5 years ago)
- Last Synced: 2024-11-13T14:55:17.714Z (6 months ago)
- Topics: design, icons, matrial, yii2, yii2-asset, yii2-extension
- Language: PHP
- Homepage: https://www.yii-ui.com/yii2-material-design-icons
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.yii-ui.com/) Yii2 Asset for Material Design Icons.
================================================[](https://packagist.org/packages/yii-ui/yii2-material-design-icons)
[](https://packagist.org/packages/yii-ui/yii2-material-design-icons)
[](https://codeclimate.com/github/yii-ui/yii2-material-design-icons/maintainability)
[](http://www.yiiframework.com/)
[](https://packagist.org/packages/yii-ui/yii2-material-design-icons)This is an [Yii framework 2.0](http://www.yiiframework.com) asset for the [Material Design Icons](https://materialdesignicons.com/).
Installation
------------The preferred way to install this extension is through [composer](https://getcomposer.org/download/).
Either run
```
php composer.phar require yii-ui/yii2-material-design-icons
```
or add
```
"yii-ui/yii2-material-design-icons": "~1.0.0"
```
to the require section of your `composer.json` file.Usage
-----in your layout file (ex. views/layouts/main.php):
```php
\yiiui\yii2materialdesignicons\MaterialDesignIconsAsset::register($this);
```or as dependency in your app asset bundle:
```php
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'
];
}
```More [Examples](https://www.yii-ui.com/yii2-material-design-icons) will be added soon at https://www.yii-ui.com/yii2-material-design-icons.
For full list of icons see Material Design Icons [Documentation](https://materialdesignicons.com/).Documentation
------------[Documentation](https://www.yii-ui.com/yii2-material-design-icons) will be added soon at https://www.yii-ui.com/yii2-material-design-icons.
License
-------**yii2-material-design-icons** is released under the MIT License. See the [LICENSE.md](LICENSE.md) for details.