1. Go to this page and download the library: Download liuwave/fc-thinkphp 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/ */
use RingCentral\Psr7\Response;
use liuwave\fc\think\FcThink;
function handler($request, $context) : Response
{
//设置thinkphp根目录
$appPath=__DIR__ . '/tp';