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.
<?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' => ''
]);
?>