Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingston-kms/yii2-mdbootstrap
Extension to asset MDBootstrap Free with Bootstrap in Yii2 Projects
https://github.com/kingston-kms/yii2-mdbootstrap
bootstrap bootstrap4 bootstrap5 material-design mdb mdb-ui-kit mdbootstrap yii2 yii2-extension
Last synced: 12 days ago
JSON representation
Extension to asset MDBootstrap Free with Bootstrap in Yii2 Projects
- Host: GitHub
- URL: https://github.com/kingston-kms/yii2-mdbootstrap
- Owner: Kingston-kms
- License: bsd-3-clause
- Created: 2020-01-05T12:00:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-23T14:38:37.000Z (about 2 years ago)
- Last Synced: 2024-12-14T02:18:06.787Z (12 days ago)
- Topics: bootstrap, bootstrap4, bootstrap5, material-design, mdb, mdb-ui-kit, mdbootstrap, yii2, yii2-extension
- Language: PHP
- Homepage:
- Size: 17.6 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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[![Packagist Version (custom server)](https://img.shields.io/packagist/v/kingston-kms/yii2-mdbootstrap?style=plastic)](https://packagist.org/packages/kingston-kms/yii2-mdbootstrap)
# Installation Bootstrap 4
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
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](http://getcomposer.org/download/).
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;
```