PHP code example of lkk / yii2-inspinia

1. Go to this page and download the library: Download lkk/yii2-inspinia 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/ */

    

lkk / yii2-inspinia example snippets

 Panel::begin([
	    'title'=>$this->title,
	    'description'=> '描述',
	    'toolbar'=>[
	        ...
	    ]
	])
 echo GridView::widget([
	        'dataProvider' => $dataProvider,
	        'tableOptions' => ['class' => 'table table-hover']
	    ]); 
 Panel::end()