> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.6mm.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.6mm.com/_mcp/server.

# Agent PHP SDK

<h2 id="runtime">
  运行环境
</h2>

| 项         | 值                     |
| --------- | --------------------- |
| 包名        | sixmm/agent-sdk       |
| 最低 PHP 版本 | PHP 7.4+              |
| 推荐 PHP 版本 | PHP 8.1+ 或当前仍受安全支持的版本 |
| 必需扩展      | ext-json、ext-curl     |

<h2 id="supported-scenarios">
  支持场景
</h2>

| 场景         | SDK 方法                  |
| ---------- | ----------------------- |
| 绑定用户       | bind                    |
| 固定金额划转     | transfer                |
| 一键全部划出     | transferAllOut          |
| 冲正         | reverse                 |
| 查询订单       | queryOrder              |
| 创建入口 URL   | createEntryUrl          |
| Webhook 验签 | WebhookVerifier::verify |