PHP and WordPress docs

io.github.ladanyin由 GitHub 账号 ladanyin 发布v1.0.1更新于 Nov 5, 2026

Current PHP and WordPress pages, plus an error lookup and upgrade breaks.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

远程 MCP 服务器,让助手查询最新的 PHP 与 WordPress 文档页面、把 PHP 报错对应到手册页,并检查升级破坏项。

可以做什么
  • 查询某个 PHP 符号或 WordPress 函数、钩子、类的最新英文手册页,返回官方链接、版本行、签名、说明和首个示例
  • 把一条 PHP 错误信息转换为其中所指函数或方法的手册页
  • 检查给定 PHP 符号是否出现在两个次版本之间的官方 php.net 迁移页面上,并标注为不兼容或已弃用
适用场景
适合助手编写或调试 PHP 与 WordPress 代码、需要引用最新官方文档而非凭记忆作答时;也适合规划 PHP 次版本升级、想了解迁移页面点名了哪些符号时。
运行要求
远程 streamable HTTP 端点,无需本地安装包。需要 API 密钥,通过 X-API-Key 请求头发送,密钥需在提供方的注册页面获取。README 称新密钥含 20 点额度,更多额度需另行购买。
安装前请注意
API 密钥是每次调用都要发送的机密。README 描述了带付费充值的额度体系,使用可能产生费用;其中还列出另外两个服务器(公司查询、发票读取)并按次计费,请确认连接的是哪个端点与工具。升级检查结果只反映迁移页面点名的符号,并不代表代码安全。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PHP and WordPress docs,将其添加到工作区。
  2. 连接 X-API-Key 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.ladanyin%2Fphp-docs/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "php-and-wordpress-docs": {
      "type": "http",
      "url": "https://php.bestsmartgoods.com/mcp",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

Company lookup, invoice reading, citation check

Three remote MCP servers for other agents. One API key. New keys include 20 credits.

Get a key: https://firm.bestsmartgoods.com/signup

Buy credits: https://firm.bestsmartgoods.com/buy

Send the key on every call:

X-API-Key: ak_...

Company lookup

Find a company by name, registration number, or tax id. 0.05 credit per successful call.

MCP: https://firm.bestsmartgoods.com/mcp · tool lookup_company

bash
curl -X POST https://firm.bestsmartgoods.com/v1/companies/lookup \
  -H "X-API-Key: ak_..." \
  -H "Content-Type: application/json" \
  -d "{\"query\":\"MOL Magyar Olaj\",\"country\":\"HU\"}"

Invoice reading

Read an invoice or text file into seller, tax id, date, and amounts. 0.15 credit per successful call.

MCP: https://bill.bestsmartgoods.com/mcp · tool parse_invoice

bash
curl -X POST https://bill.bestsmartgoods.com/v1/invoices/parse \
  -H "X-API-Key: ak_..." \
  -F "[email protected]"

Citation check

[mcptry]

Check whether a URL supports a claim. 0.08 credit per successful call.

MCP: https://cite.bestsmartgoods.com/mcp · tool check_citation

bash
curl -X POST https://cite.bestsmartgoods.com/v1/citations/check \
  -H "X-API-Key: ak_..." \
  -H "Content-Type: application/json" \
  -d "{\"claim\":\"Example Domain is for use in documentation examples\",\"url\":\"https://example.com\"}"

Prices

  • 100 credits = 5 EUR
  • 500 credits = 20 EUR
  • 2000 credits = 60 EUR

来源:README.md,提交 3b6e3d2

工具

3

query_php_docs

Read a PHP or WordPress manual page

Read one current English manual page for a PHP symbol or a WordPress function, hook, or class. Returns the official page URL, the version line, the signature, the description, and the first official example. php.net pages are the live English HTML manual. WordPress pages are the live developer.wordpress.org reference. This is not an archive of older manuals and it does not search Laravel, Symfony, or Markdown docs. The first 5 successful pages each UTC day from one network address are free and need no API key. A not_found or fetch_failed does not use a free page. After the 5, send header X-API-Key. A key call costs 0.04 credit only when a page is returned. Pass the symbol, for example str_contains or wp_insert_post. Set source to php or wordpress, or omit it and a wp_ name uses WordPress. Set version, for example 8.3 or 6.7, to learn whether that release is covered by the page version line. version_applies is null when version is omitted or the page has no version line. User comments are not included. Key: https://firm.bestsmartgoods.com/signup

输入参数query必填sourceversion

explain_php_error

Explain a PHP error

Turn one PHP error message into the current English manual page for the function or method it names. Returns the manual URL, version line, signature, description, and first example. Use it when the agent has the error text. A message that names no function returns not_found. The first 5 successful calls each UTC day from one network address are free and need no key. A not_found, bad_range, or fetch_failed is not charged and does not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit only on success. Key: https://firm.bestsmartgoods.com/signup

输入参数error必填version

check_php_upgrade

Check a PHP upgrade

Check which of the given PHP symbols are linked from the official php.net migration pages between two minor versions. Returns each hit with kind incompatible or deprecated, the version, and the page URL. A symbol that is absent was not named on those pages, which is not proof the code is safe. Send from, to, and symbols, or code instead of symbols. The span can cover at most 8 minor versions. An empty breaks list is still a successful, charged check when the pages were read. The first 5 successful calls each UTC day from one network address are free and need no key. A not_found, bad_range, or fetch_failed is not charged and does not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit only on success. Key: https://firm.bestsmartgoods.com/signup

输入参数to必填codefrom必填symbols

版本历史

2
  1. v1.0.1最新Nov 5, 2026
  2. v1.0.0Nov 4, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。