kingston-kms / yii2-mdbootstrap
Extension to asset MDBootstrap Free with Bootstrap in Yii2 Projects
Installs: 2 314
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.2.0
- npm-asset/mdb-ui-kit: ~5
- yiisoft/yii2: ~2.0
- yiisoft/yii2-bootstrap5: ~2.0
README
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
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;