/yii2-materialize

Yii 2 Materialize Extension.

Primary LanguagePHPMIT LicenseMIT

Materialize Extension for Yii 2


Note!

This extension in dev mode.


This is the Materialize extension for Yii 2. It encapsulates Materialize components and plugins in terms of Yii widgets, and thus makes using Materialize components/plugins in Yii applications extremely easy.

For license information check the LICENSE-file.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist webmaxx/yii2-materialize

or add

"webmaxx/yii2-materialize": "dev-master"

to the require section of your composer.json file.

Usage

For example, the following single line of code in a view file would render a Materialize Progress plugin:

<?= webmaxx\materialize\Progress::widget(['percent' => 70]) ?>