1. Go to this page and download the library: Download liguangchun/think-library 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/ */
liguangchun / think-library example snippets
use DtApp\ThinkLibrary\service\SystemService;
dump(SystemService::instance()
->mac());
use DtApp\ThinkLibrary\service\baidu\LbsYunService;
dump(LbsYunService::instance()
->ak("")
->weather());
use DtApp\ThinkLibrary\service\amap\AmApService;
dump(AmApService::instance()
->key("")
->weather());