airani/yii2-bootstrap-rtl The Twitter Bootstrap Rtl extension for the Yii 2.0 framework

bootstraprtl

Twitter Bootstrap RTL Extension for Yii 2

This is the Twitter Bootstrap RTL (Right to Left) extension for Yii 2. It create an AssetBundle for Rtl bootstrap.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist airani/yii2-bootstrap-rtl

or add

"airani/yii2-bootstrap-rtl": "*"

to the require section of your composer.json file.

For using this asset bundle you need just add this line 'airani\bootstrap\BootstrapRtlAsset' in $depends of AppAsset or any asset bundels you work that.

Example:

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',
        'airani\bootstrap\BootstrapRtlAsset',
    ];
}

Changelog

Yii Framework 2 bootstrap rtl extension Change Log

1.0 March 23, 2015

  • Initial release.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.2.1 is the latest of 4 releases



BSD-3-Clause license
Stats
5 github stars & 3 github forks
2 downloads in the last day
302 downloads in the last 30 days
31175 total downloads