farsidesign / yii2-sbadminrtl
SB Admin Rtl from Start Bootstrap as a backend UI for Yii 2 Framework
Installs: 232
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Language:HTML
Type:yii2-extension
Requires
This package is not auto-updated.
Last update: 2025-01-10 21:04:28 UTC
README
SB Admin RTL from Start Bootstrap as a backend UI for Yii 2 Framework
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist farsidesign/yii2-sbadminrtl "dev-master"
or add
"farsidesign/yii2-sbadminrtl": "dev-master"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
'view' => [ 'theme' => [ 'pathMap' => [ '@app/views' => '@vendor/farsidesign/yii2-sbadminrtl/views/yiisoft', ], ], ],
'components' => [ 'i18n' => [ 'translations' => [ 'sbadmin' => [ 'class' => 'yii\i18n\PhpMessageSource', 'basePath' => '@vendor/farsidesign/yii2-sbadminrtl/messages', 'sourceLanguage' => 'fa-IR', 'fileMap' => [ 'sbadmin' => 'sbadmin.php', ], ], ], ], ],
The register lines for all assets...
farsidesign\sbadminrtl\web\SbAdminAsset::register($this); farsidesign\sbadminrtl\web\MetisMenuAsset::register($this); farsidesign\sbadminrtl\web\FontsAsset::register($this); farsidesign\sbadminrtl\web\DataTablesAsset::register($this); farsidesign\sbadminrtl\web\HolderAsset::register($this); farsidesign\sbadminrtl\web\BootstrapSwitchAsset::register($this); farsidesign\sbadminrtl\web\MorrisAsset::register($this); farsidesign\sbadminrtl\web\FlotChartsAsset::register($this); farsidesign\sbadminrtl\web\FlotTooltipAsset::register($this); farsidesign\sbadminrtl\web\TimeLineAsset::register($this);