DEV Community

Gabriel Alejandro López López
Gabriel Alejandro López López

Posted on • Originally published at yiiframework.com on

1

[extension] daxslab/yii2-coreui

Yii2 CoreUI

  1. Installation
  2. Usage

Latest Stable VersionTotal DownloadsLatest Unstable VersionLicense

Yii2 extension includind the base layout for CoreUI admin dashboard

Installation

The preferred way to install this extension is through composer.

Either run

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

Enter fullscreen mode Exit fullscreen mode

or add

"daxslab/yii2-coreui": "*"

Enter fullscreen mode Exit fullscreen mode

to the require section of your composer.json file.

Usage

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() ?>

Enter fullscreen mode Exit fullscreen mode

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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more