2021-07-09 17:53:24 +08:00
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
## Getting Composer package
|
|
|
|
|
|
|
|
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
|
|
|
|
|
|
|
|
Either run
|
|
|
|
|
|
|
|
```
|
2021-08-03 16:22:50 +08:00
|
|
|
php composer.phar require --prefer-dist yiisoft/yii2-bootstrap5
|
2021-07-09 17:53:24 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
or add
|
|
|
|
|
|
|
|
```
|
2021-08-03 16:22:50 +08:00
|
|
|
"yiisoft/yii2-bootstrap5": "~1.0.0"
|
2021-07-09 17:53:24 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
to the require section of your `composer.json` file.
|