https://github.com/tuyakhov/yii2-materialize
Materialize Extension for Yii 2
https://github.com/tuyakhov/yii2-materialize
Last synced: about 1 month ago
JSON representation
Materialize Extension for Yii 2
- Host: GitHub
- URL: https://github.com/tuyakhov/yii2-materialize
- Owner: tuyakhov
- Created: 2015-06-02T06:29:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-02T10:15:13.000Z (almost 8 years ago)
- Last Synced: 2024-10-11T21:55:51.194Z (7 months ago)
- Language: PHP
- Size: 27.3 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Materialize Extension for Yii 2
===============================
This is the Materialize extension for Yii framework 2.0. It encapsulates Materialize components and plugins in terms of Yii widgets, and thus makes using Materialize components/plugins in Yii applications extremely easy.Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist tuyakhov/yii2-materialize "*"
```or add
```
"tuyakhov/yii2-materialize": "*"
```to the require section of your `composer.json` file.
Usage
-----Once the extension is installed, simply use it in your code by :
```php
= \tuyakhov\materialize\AutoloadExample::widget(); ?>```