PHPackages                             liuwave/fc-thinkphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. liuwave/fc-thinkphp

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

liuwave/fc-thinkphp
===================

deploy a thinkphp project on FC。在函数计算上部署thinkphp项目。

1.1.7(5y ago)41552[1 issues](https://github.com/liuwave/fc-thinkphp/issues)MITPHPPHP &gt;=7.2.0

Since Jul 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/liuwave/fc-thinkphp)[ Packagist](https://packagist.org/packages/liuwave/fc-thinkphp)[ RSS](/packages/liuwave-fc-thinkphp/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

fc-thinkphp
===========

[](#fc-thinkphp)

这是一个使用阿里云函数计算 php runtime搭建serverless thinkphp6.0项目的插件，只需要在函数计算的http触发器入口函数添加几行代码就能让thinkphp6.0运行在函数计算的php运行环境下。

示例：

快速开始
----

[](#快速开始)

首先在thinkphp6.0项目中安装插件：

```
composer require liuwave/fc-thinkphp
```

修改thinkphp项目的入口文件`/tp/public/index.php`(仅在cgi模式下需要修改(支持cli模式，默认cgi模式)):

```
