> For the complete documentation index, see [llms.txt](https://tarscloud.gitbook.io/tarsdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tarscloud.gitbook.io/tarsdocs/tarsphp.md).

# TarsPHP

- [搭建 php 环境](https://tarscloud.gitbook.io/tarsdocs/tarsphp/php.md)
- [快速开发入门](https://tarscloud.gitbook.io/tarsdocs/tarsphp/tarsphp.md)
- [\[快速起步\]](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuai-su-qi-bu.md)
- [搭建 HttpServer](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuai-su-qi-bu/tars-http-server.md)
- [搭建 TimerServer](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuai-su-qi-bu/tars-timer-server.md)
- [搭建 TcpServer](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuai-su-qi-bu/tars-tcp-server.md)
- [搭建 WebSocketServer](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuai-su-qi-bu/tars-websocket-server.md)
- [弹幕活动实战](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuai-su-qi-bu/tars-act-demo.md)
- [\[框架简介\]](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie.md)
- [简介](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/introduce.md)
- [tars-server](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-server.md)
- [tars-client](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-client.md)
- [tars-config](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-config.md)
- [tars-deploy](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-deploy.md)
- [tars-extension](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-extension.md)
- [tars-log](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-log.md)
- [tars-monitor](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-monitor.md)
- [tars-registry](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-registry.md)
- [tars-report](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-report.md)
- [tars-utils](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars-utils.md)
- [tars2php](https://tarscloud.gitbook.io/tarsdocs/tarsphp/kuang-jia-jian-jie/tars2php.md)
- [\[高阶应用\]](https://tarscloud.gitbook.io/tarsdocs/tarsphp/gao-jie-ying-yong.md)
- [PHP 的 Swoole 框架如何接入 Tars](https://tarscloud.gitbook.io/tarsdocs/tarsphp/gao-jie-ying-yong/swoole-suport-tars.md)
- [与 thinkphp 结合使用](https://tarscloud.gitbook.io/tarsdocs/tarsphp/gao-jie-ying-yong/thinkphp.md)
- [与 Swoft 结合使用](https://tarscloud.gitbook.io/tarsdocs/tarsphp/gao-jie-ying-yong/swoft.md)
- [与 Laravel 结合使用](https://tarscloud.gitbook.io/tarsdocs/tarsphp/gao-jie-ying-yong/laravel.md)
- [与 Yii2 结合使用](https://tarscloud.gitbook.io/tarsdocs/tarsphp/gao-jie-ying-yong/yii2.md)
- [持续集成方案](https://tarscloud.gitbook.io/tarsdocs/tarsphp/gao-jie-ying-yong/ci.md)
- [\[其他\]](https://tarscloud.gitbook.io/tarsdocs/tarsphp/qi-ta.md)
- [常见问题](https://tarscloud.gitbook.io/tarsdocs/tarsphp/qi-ta/index.md)
- [如何 Debug](https://tarscloud.gitbook.io/tarsdocs/tarsphp/qi-ta/debug.md)
- [changelog](https://tarscloud.gitbook.io/tarsdocs/tarsphp/qi-ta/changelog.md)
- [其他外部文档](https://tarscloud.gitbook.io/tarsdocs/tarsphp/qi-ta/outsource.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tarscloud.gitbook.io/tarsdocs/tarsphp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
