Download the PHP package yidas/yii2-bootstrap without Composer
On this page you can find all versions of the php package yidas/yii2-bootstrap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-bootstrap
Bootstrap Extension for Yii 2
Bootstrap Asset Bundle extension for Yii2 framework with official Composer
This is the Bootstrap extension for Yii framework 2.0. It encapsulates Bootstrap distribution assets and thus makes using Bootstrap in Yii applications extremely easy.
FEATURES
-
No Bower, Composer installation only
-
CDN & Official assets source provided
- Version Controll refers to jQuery
REQUIREMENTS
This library requires the following:
- PHP 5.4.0+
- yiisoft/yii2 2.0.6+
- twbs/bootstrap 4.0+
- yidas/yii2-jquery 2.0+
INSTALLATION
The preferred install way is through Composer:
Version options refered Bootstrap release:
Or you could edit composer.json
with adding package in require section then run composer update
.
CONFIGURATION
Register or depend Asset into your application:
For example, to register Bootstrap assets in view :
Or as dependency in your app asset bundle :
CDN Asset Mode
You could switch Asset to use CDN distribution by configuring config
file:
Specify a CDN source
You could also specify CDN source you like:
jQuery Dependency
This Bootstrap extension required jQuery Javascript library, you could set yii\web\JqueryAsset
in $depends
, or simplly depends a asset included your own jQuery JS file whether is CDN or not.
Another way, you could easliy enable jquery dependency by setting jquery
property form BootstrapAsset
:
USAGE
Version Control
Update dependent packages
composer update yidas/yii2-bootstrap
Update newest Bootstrap version
composer update twbs/bootstrap
Specify a Bootstrap version
composer require twbs/bootstrap 4.1.3
All versions of yii2-bootstrap with dependencies
yiisoft/yii2 Version ~2.0.6
twbs/bootstrap Version ~4.0
yidas/yii2-jquery Version ~2.0