前言介紹
- 這款 WordPress 外掛「Gato GraphQL」是 2024-01-07 上架。
- 目前有 40 個安裝啟用數。
- 上一次更新是 2025-05-02,距離現在已有 2 天。
- 外掛最低要求 WordPress 6.1 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 32 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
leoloso | gatographql |
外掛標籤
api | GraphQL | webhook | headless | decoupled |
內容簡介
- Gato GraphQL 是一個能夠與 WordPress 網站的資料互動的工具,可以檢索、操作和再次儲存任何您所需的資料
- Gato GraphQL 可以處理來自多個外掛的功能:
- APIs
- Automators
- 批量編輯
- 代碼片段
- 內容分發
- 電子郵件通知
- HTTP 客戶端
- 導入/導出
- 搜索和替換
- 翻譯
- Webhooks
- 您可以使用 Gato GraphQL 來:
- 查詢數據以創建無頭網站
- 公開和私有 API
- 在網站之間同步內容
- 自動化任務
- 補充 WP-CLI 執行管理任務
- 搜索/替換網站遷移後的內容
- 在某些事件發生時發送通知(發布新文章、新增評論等)
- 與雲服務互動
- 將第三方 API 的數據轉換為所需格式
- 翻譯網站內容
- 批量插入或刪除(Gutenberg)區塊
- 驗證新文章是否包含強制性區塊
- 還有更多功能...
- Gato GraphQL 支援持久化查詢。持久化查詢類似於 WP REST API 端點,但是它們是直接在 wp-admin 中使用 GraphQL 語言創建和發佈的,不需要任何 PHP 代碼
- 通過使用持久化查詢,您既可以享受 GraphQL 帶來的出色用戶體驗,同時又能從 REST API 中獲得安全性,限制客戶端和訪客只能查詢您事先定義的數據
- 您還可以創建公共和私有的自定義端點,將它們暴露給特定目標(不同應用程序、客戶端、團隊等),並讓私有端點為您的自定義 Gutenberg 區塊提供數據
- 瀏覽查詢庫中的即用查詢,為您的 WordPress 網站找到已創建的持久化查詢(安裝插件時已經創建了一些較受歡迎的查詢)。該庫不斷增長,定期添加新的查詢
- 通過捆綁和擴展增強 Gato GraphQL 的功能
原文外掛簡介
Gato GraphQL is a powerful and flexible GraphQL server for WordPress.
Use it to expose WordPress data via GraphQL. Access any piece of data (posts, users, comments, tags, categories, etc) from your application, and also transform and mutate data.
The standard use cases are:
Code performant apps: Send a GraphQL query to your API and get exactly what you need, nothing more and nothing less.
Build dynamic/headless sites: Use WordPress as the CMS to manage data, and your framework of choice to render the site.
Speed up creating Gutenberg blocks: Ship Gutenberg blocks faster, by avoiding creating REST controllers to feed them data.
With Gato GraphQL, you also have the flexibility to migrate your application from WordPress to another PHP-based framework or CMS (if ever needed) with minimal effort: The GraphQL server can run via its standalone PHP component (which doesn’t depend on WordPress), and only those resolvers fetching WordPress data (posts, users, comments, etc) used by your application would need to be ported. You can do Headless WordPress without WordPress, avoiding the vendor lock-in to WordPress.
Power Extensions
The Power Extensions allow you to augment the server functionality.
You can purchase a bundle containing all the power extensions.
The available power extensions are:
Access Control: Grant granular access to the schema (based on the user being logged-in, having some role or capability, or by IP), to manage who can access what data.
Caching: Make your application faster by providing HTTP Caching for the GraphQL response, and by caching the results of expensive operations.
Custom Endpoints: Create and expose multiple custom GraphQL schemas under their own URL, for different users, applications, external services, or other.
Deprecation: Evolve the GraphQL schema by deprecating fields, and explaining how to replace them, through a user interface.
HTTP Client: Connect to and interact with external services via their APIs.
Internal GraphQL Server: Execute GraphQL queries directly within your application, using PHP code.
Multiple Query Execution: Combine multiple queries into a single query, sharing state across them and executing them in the requested order.
Persisted Queries: Use GraphQL queries to create pre-defined endpoints as in REST, obtaining the benefits from both APIs.
Query Functions: Manipulate the values of fields within the GraphQL query, via a collection of utilities and special directives providing meta-programming capabilities.
Schema Functions: The GraphQL schema is provided with fields and directives which expose functionalities from the PHP programming language.
Premium Extensions
Premium Extensions allow you to integrate popular services and WordPress plugins into the GraphQL schema, and automate the execution of queries.
You can purchase each premium extension separately.
The available premium extensions are:
Automation: Use GraphQL to automate tasks in your app: Execute queries when some event happens, chain queries, and schedule and trigger queries via WP-Cron.
Elementor: Integration with the Elementor plugin, to parse and update data in Elementor pages and templates.
Events Manager: Integration with the Events Manager plugin, to fetch event data.
MultilingualPress: Integration with the MultilingualPress plugin, to fetch multilingual data.
Polylang: Integration with the Polylang plugin, adding fields and filters to select the language when fetching data on a multilingual site.
Translation: Translate a field value using the service provider of your choice, among ChatGPT, Claude, DeepSeek, Mistral AI, DeepL, and Google Translate.
Built with Gato GraphQL
All the plugins by Gato Plugins use Gato GraphQL under the hook.
You can use Gato GraphQL to do everything offered by Gato Plugins!
The plugins are:
Gato AI Translations for Polylang: Automatically translate all content on your WordPress site, using the LLM of your choice: ChatGPT, Claude, DeepSeek, Mistral AI, DeepL, and Google Translate.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Gato GraphQL」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.5.0 | 1.5.1 | 1.5.2 | 1.5.3 | 1.5.4 | 1.6.0 | 2.0.1 | 2.1.0 | 2.1.3 | 2.2.0 | 2.2.1 | 2.2.2 | 2.2.3 | 2.3.0 | 2.4.0 | 2.4.1 | 2.5.0 | 2.5.1 | 2.5.2 | 2.6.0 | 3.0.0 | 4.0.0 | 4.1.0 | 4.1.1 | 4.2.0 | 5.0.0 | 6.0.0 | 6.0.1 | 6.0.2 | 7.0.0 | 7.0.3 | 7.0.4 | 7.0.5 | 8.0.0 | 9.0.0 | trunk | 10.0.0 | 10.1.0 | 10.2.0 | 10.3.1 | 10.4.0 | 10.5.0 | 11.0.0 | 11.0.1 | 11.0.4 | 11.1.2 | 11.2.0 | 11.3.0 | 11.3.1 | 12.0.0 | 12.0.1 | 12.1.0 |
延伸相關外掛(你可能也想知道)
WPGraphQL 》WPGraphQL 是一個免費、開源的 WordPress 外掛,為任何 WordPress 網站提供可延伸的 GraphQL schema 和 API。, 以下是一些有助於你開始使用 WPGraphQL 的連結...。
WPGraphQL Yoast SEO Addon 》這個外掛啟用了 WPGraphQL 的 Yoast SEO 支援功能。, 這是 WPGraphQL 外掛的擴充功能 (https://github.com/wp-graphql/wp-graphql),可返回Yoast SEO資料。, ...。
WPGraphQL for ACF 》- WPGraphQL for Advanced Custom Fields 是一個免費的開源 WordPress 外掛,將 ACF Fields 和 Field Groups 添加到 WPGraphQL Schema 中。, - 創建 ACF Fiel...。
Headless CMS 》這是一個 WordPress 外掛,透過 REST API 向任何前端環境添加以下功能,使 WordPress 成為無界面 CMS。, 此外掛提供多種功能,您可以使用與您的前端應用程式...。
WPGraphQL Send Mail 》此外掛可以透過 WPGraphQL 來寄送電子郵件。, 使用方法, `, , mutation SEND_EMAIL {, sendEmail(, input: {, to: “[email protected]”,...。
WPGraphQL Blocks 》總結:透過wp-graphql外掛,可將Gutenberg塊轉換成JSON資料。, , 問題與答案:, , 問題:wp-graphql是什麼外掛?, 答案:wp-graphql是在WordPress上使用Graph...。
WPGraphQL Redirection Addon 》將WPGraphQL支援集成至廣受歡迎的Redirection 外掛中,以便在重新導向頁面時顯示相關資訊。, 查詢範例, redirection {, redirects {, groupId, gro...。
WPGraphQL IDE 》總結:WordPress 外掛 GraphQL IDE for WPGraphQL 為使用者提供一個更直觀的界面,方便進行 GraphQL 查詢和測試。, , 問題與答案:,
- ,
Nullify empty fields for ACF 》將進階自訂欄位 (Advanced Custom Fields, ACF) 的空值設定為 null,而非 false,以避免在 GatsbyJS 中發生 GraphQL 錯誤。, 先決條件, , 進階自訂欄位 (Adva...。
Redirection GraphQL Extension 》這個外掛創建了一個 GraphQL 物件和相關字段,用於在 WordPress 上使用 Redirection 外掛創建的轉向。它是為了在 GatsbyJS 上使用而開發的,但應該與其他 Gra...。
Stellate 》WordPress 的 Stellate 外掛程式, 這個外掛程式是受歡迎的 WPGraphQL 外掛程式的附屬程式。它能夠協助在 WordPress GraphQL API 前端架設 Stellate,並且在 W...。
Generate WpGraphql Image DataUrl 》此外掛在 WPGraphQL 中生成 MediaItem 的 DataUrl。, 這是 awsome WPGraphQL 外掛 (https://github.com/wp-graphql/wp-graphql) 的擴充功能,可以生成 MediaI...。
Shopz GraphQL API for WooCommerce 》想為你的 WooCommerce 網站建立一個行動應用程式嗎?我們的外掛可以幫助你在幾秒鐘內生成 GraphQL API,並立即開始開發你的行動應用程式。或者你可以使用我們...。
GraphCDN 》這個外掛已經過時了, GraphCDN 公司已經改名為 Stellate!我們將我們的 WordPress 外掛在新名字下重新發佈: Stellate。這個外掛還會繼續存在,但將不會再接...。
WPGraphQL BuddyPress 》總結:WPGraphQL BuddyPress是一款免費且開源的插件,讓GraphQL的強大功能運用於BuddyPress之中。BuddyPress是一個現代化、穩定且精密的社交網路軟體,而WPGr...。