PHP code example of kain / think-bit

1. Go to this page and download the library: Download kain/think-bit 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/ */

    

kain / think-bit example snippets


return [

    // 应用名称
    'app_name' => Env::get('app.name', null),
    // 应用标识
    'app_id' => Env::get('app.id', null),
    // 应用密钥
    'app_secret' => Env::get('app.secret', null),
    // 应用地址
    'app_host' => Env::get('app.host', 'http://localhost:8000'),
    // 管理后台域名
    'app_backstage' => Env::get('app.backstage', 'http://localhost:4200'),
];