yii2-extensions / asset-bootstrap5
Asset for Bootstrap5 for Yii Framework
Installs: 4 133
Dependents: 8
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=8.1
- npm-asset/bootstrap: ^5.3
- yiisoft/yii2: ^2.0.49 || ^2.2
Requires (Dev)
- maglnet/composer-require-checker: ^4.7
- php-forge/support: ^0.1
- phpunit/phpunit: ^10.5
- roave/infection-static-analysis-plugin: ^1.34
- symplify/easy-coding-standard: ^12.1
- yii2-extensions/phpstan: dev-main
This package is auto-updated.
Last update: 2024-10-23 20:46:57 UTC
README
Asset bundle for Twitter Bootstrap 5.
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist yii2-extensions/asset-bootstrap5:"^0.1"
or add
"yii2-extensions/asset-bootstrap5":"^0.1"
to the require section of your composer.json
file.
Basic usage
<?php declare(strict_types=1); use Yii2\Asset\BootstrapAsset; BootstrapAsset::register($this);
<?php declare(strict_types=1); use Yii2\Asset\BootstrapPluginAsset; BootstrapPluginAsset::register($this);
CDN usage
<?php declare(strict_types=1); use Yii2\Asset\BootstrapCdnAsset; BootstrapCdnAsset::register($this);
<?php declare(strict_types=1); use Yii2\Asset\BootstrapPluginCdnAsset; BootstrapPluginCdnAsset::register($this);
Testing
Check the documentation testing to learn about testing.
Quality code
Support versions Yii2
Our social networks
License
The MIT License. Please see License File for more information.