schmasterz/yii-material-kit

Material Kit extension for Yii framework

dev-master / 3.0.x-dev 2021-06-18 13:27 UTC

This package is auto-updated.

Last update: 2024-04-18 20:12:17 UTC


README

This Yii Framework extension encapsulates Material Kit components and plugins in terms of Yii widgets, and thus makes using Bootstrap components/plugins in Yii applications extremely easy. Material Kit is a Free Bootstrap 4 UI Kit with a fresh, new design inspired by Google's material design.

Requirements

The minimum requirement by yii-material-kit that your Web server supports PHP 7.4.

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

Run

$ php composer.phar require schmasterz/yii-material-kit "master@dev"

Usage

<?= Schmasterz\Yii\MaterialKit\Progress::widget()->percent('60')->label('test'); ?>

You can also use yii-material-kit in the CSS, Javascript layer of your application. To achieve this, you need to include agGrid as a dependency of your Asset file

public $depends = [
    'Schmasterz\Yii\MaterialKit\Assets\MaterialAsset'
];

or add it to your view file

Schmasterz\Yii\MaterialKit\Assets\MaterialAsset::register($this);