derekisbusy/yii2-bootstrap4

Bootstrap 4 assets for Yii2

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2019-06-24 17:04 UTC

This package is auto-updated.

Last update: 2024-04-25 06:56:28 UTC


README

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