Search by

klsoft / yii3-cms-site-bootstrap5

klsoft-web

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

Statistics

Installs: 2

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-12-03 12:42 UTC

This package is auto-updated.

Last update: 2026-12-03 12:49:07 UTC


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
    ],
];

Documentation