PHP code example of kak / panel

1. Go to this page and download the library: Download kak/panel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kak / panel example snippets




use kak\widgets\panel\Panel;
/**
* @var app\models\Post $model   
* @var yii2\web\View $this 
*/

 

<?= Panel::widget([
    'title' => 'title panel',
    'content' => 'html content'
])