dev-master
9999999-devThe Twitter Bootstrap Rtl extension for the Yii 2.0 framework
BSD-3-Clause
The Requires
- yiisoft/yii2 *
- bower-asset/bootstrap 3.3.* | 3.2.* | 3.1.*
- bower-asset/salatnik-bootstrap-rtl *
by Simon Kamenetskiy
yii2 bootstrap rtl
Wallogit.com
2017 © Pedro Peláez
The Twitter Bootstrap Rtl extension for the Yii 2.0 framework
This is the Twitter Bootstrap RTL (Right to Left) extension for Yii 2. It create an AssetBundle for Rtl bootstrap., (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist salatnik/yii2-bootstrap-rtl
or add, (*4)
"salatnik/yii2-bootstrap-rtl": "*"
to the require section of your composer.json file., (*5)
For using this asset bundle you need just add this line 'salatnik\bootstrap\BootstrapRtlAsset' in $depends of AppAsset or any asset bundels you work that., (*6)
Example:, (*7)
namespace backend\assets;
use yii\web\AssetBundle;
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.css',
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
'salatnik\bootstrap\BootstrapRtlAsset',
];
}
The Twitter Bootstrap Rtl extension for the Yii 2.0 framework
BSD-3-Clause
yii2 bootstrap rtl