[extension] daxslab/yii2-coreui
Gabriel Alejandro López López

Gabriel Alejandro López López @glpzzz

About: I’m a software engineer living in Cienfuegos, Cuba. I am a fan of programming, web development, and entrepreneurship. I’m also interested in technology and music.

Location:
Cienfuegos, Cuba
Joined:
Aug 25, 2019

[extension] daxslab/yii2-coreui

Publish Date: Sep 10 '20
1 0

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.

Comments 0 total

    Add comment