Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 719 Bytes

README.md

File metadata and controls

52 lines (35 loc) · 719 Bytes

infinitiweb-panel

Yii panel-widget

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist infinitiweb/yii2-panel "dev-master"

or add

"infinitiweb/yii2-panel": "dev-master"

to the require section of your composer.json file.

Usage

<?php
use infinitiweb\widgets\yii2\panel\Panel;

Panel::begin([
    'title' =>  'Update',
    'heading' => true,                                         
])?>

<!-- content -->

<?php Panel::end();?>

Or

<?php

use infinitiweb\widgets\yii2\panel\Panel;

echo Panel::widget([
    'title' => 'Title',
    'content' => ''
]);
?>