Skip to content

derekisbusy/yii2-bootstrap4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Bootstrap 4

Bootstrap 4 assets for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist derekisbusy/yii2-bootstrap4:dev-master

or add

"derekisbusy/yii2-bootstrap4": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it by adding it to your view :

use \derekisbusy\bootstrap4\BootstrapAsset;

BootstrapAsset::register($this);

or by adding it to another assets dependencies list :

  public $depends = [
    'derekisbusy\bootstrap4\BootstrapAsset'
  ];

Resources

Releases

No releases published

Packages

No packages published

Languages