CoreUi for Yii2

Installs: 392

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Type:yii2-extension 2020-09-16 19:46 UTC

This package is auto-updated.

Last update: 2024-02-17 03:27:39 UTC


Latest Stable Version Total Downloads Latest Unstable Version License

Yii2 extension includind the base layout for CoreUI admin dashboard


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist daxslab/yii2-coreui "*"

or add

"daxslab/yii2-coreui": "*"

to the require section of your composer.json file.


Make your module or controller layout to be @daxslab/coreui/views/layouts/main.php by modifiying the layout attribute.

Also you can make your @app/views/layouts/main.php to look like:

<?php $this->beginContent('@daxslab/coreui/views/layouts/main.php') ?>
    <?= $content ?>
<?php $this->endContent() ?>

Consider that there a a group of variables at the beginning of @daxslab/coreui/views/layouts/main.php that you can set to specify brand icons, menu contents, etc.