PHP code example of xing.chen / yii-common-set

1. Go to this page and download the library: Download xing.chen/yii-common-set 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/ */

    

xing.chen / yii-common-set example snippets


use xing\commonSet\backend\controllers\CommonSetTrait;

public $group = ['sys' => '系统', 'common' => '普通', 'user' => '用户'];