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 分

    請在儲存庫或註冊中心條目中宣告授權條款。