klsoft / yii3-cms-site-bootstrap5
The package provides a website built using the Bootstrap 5 framework and managed by Yii3 CMS
Package info
github.com/klsoft-web/yii3-cms-site-bootstrap5
pkg:composer/klsoft/yii3-cms-site-bootstrap5
1.0.0
2026-12-03 12:42 UTC
Requires
- php: ^8.2
- guzzlehttp/psr7: ^2.13
- klsoft/yii3-cms-entities: ^1.0
- npm-asset/bootstrap: ^5.3.8
- npm-asset/bootstrap-icons: ^1.13.1
- yiisoft/assets: ^5.1.2
- yiisoft/http: ^1.3
- yiisoft/hydrator: ^1.6
- yiisoft/router: ^4.0.2
- yiisoft/router-fastroute: ^4.0
- yiisoft/yii-dataview: ^1.3
- yiisoft/yii-view-renderer: ^7.4.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95
- phpunit/phpunit: ^11.5.58
- vimeo/psalm: ^7.24
- yiisoft/di: ^1.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The package provides a website built using the Bootstrap 5 framework and managed by Yii3 CMS.
Requirement
- PHP 8.2 or higher.
Installation
composer require klsoft/yii3-cms-site-bootstrap5
Example of overriding the website's presentation
//src/Presentation/Shared/Layout/Main/MainAsset.php namespace App\Presentation\Shared\Layout\Main; use Klsoft\Yii3CmsSiteBootstrap5\Presentation\Shared\Layout\Main\MainAsset as SiteMainAsset; final class MainAsset extends SiteMainAsset { public ?string $basePath = '@assets/main'; public ?string $baseUrl = '@assetsUrl/main'; public ?string $sourcePath = '@assetsSource/main'; public array $css = [ 'site.css', ]; }
//config/common/params.php return [ // ... 'klsoft/yii3-cms' => [ 'assetClassName' => App\Presentation\Shared\Layout\Main\MainAsset::class ], ];