Skip to content

Extension to asset MDBootstrap Free with Bootstrap in Yii2 Projects

License

Notifications You must be signed in to change notification settings

Kingston-kms/yii2-mdbootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Extension with Material Design for Bootstrap

Demo

You can see demo application on http://yii2-mdb-demo.dtkms.ru/

Packagist

Extension to asset MDB Bootstrap Assets Free in Yii2 Projects

Packagist Version (custom server)

Installation Bootstrap 4

The preferred way to install this extension is through composer.

Either run

composer require kingston-kms/yii2-mdbootstrap:~1

or add

"kingston-kms/yii2-mdbootstrap": "~1"

to the require section of your composer.json file.

Usage

Add use statement in your view file:

use kingston\mdbootstrap\MDBootstrapAsset;
use kingston\mdbootstrap\MDBootstrapPluginAsset;

and register assets in view:

MDBootstrapAsset::register($this);
MDBootstrapPluginAsset::register($this);

Installation Bootstrap 5

The preferred way to install this extension is through composer.

Either run

composer require kingston-kms/yii2-mdbootstrap:~2

or add

"kingston-kms/yii2-mdbootstrap": "~2"

to the require section of your composer.json file.

Usage

Add use statement in your view file:

use kingston\yii2mdbuikit\MdbUiKitAsset;
use kingston\yii2mdbuikit\MdbUiKitPluginAsset;

and register assets in view:

MdbUiKitAsset::register($this);
MdbUiKitPluginAsset::register($this);

Dark Theme

use kingston\yii2mdbuikit\MdbUiKitDarkAsset;

RTL Version Assets

use kingston\yii2mdbuikit\MdbUiKitRtlAsset;

Dark RTL Version Assets

use kingston\yii2mdbuikit\MdbUiKitDarkRtlAsset;