[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8475":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":15,"starSnapshotCount":15,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},8475,"wp-graphql","wp-graphql\u002Fwp-graphql",":rocket: GraphQL API for WordPress","https:\u002F\u002Fwww.wpgraphql.com",null,"PHP",3781,467,60,101,0,1,4,3,62.91,"GNU General Public License v3.0",false,"main",[24,25,26,27,28,29,30,31,32,33,34],"api","gatsby","graphql","graphql-api","graphql-php-library","graphql-server","hacktoberfest","wordpress","wordpress-plugin","wp-plugin","wpgraphql","2026-06-12 04:00:39","\u003Cimg src=\".\u002Fplugins\u002Fwp-graphql\u002Fimg\u002Flogo.png\" alt=\"WPGraphQL Logo\" width=\"96\" height=\"96\" style=\"max-width: 96px; max-height: 96px;\">\n\n# WPGraphQL Monorepo\n\n[![Total Downloads](https:\u002F\u002Fposer.pugx.org\u002Fwp-graphql\u002Fwp-graphql\u002Fdownloads)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fwp-graphql\u002Fwp-graphql)\n[![Monthly Downloads](https:\u002F\u002Fposer.pugx.org\u002Fwp-graphql\u002Fwp-graphql\u002Fd\u002Fmonthly)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fwp-graphql\u002Fwp-graphql)\n[![Daily Downloads](https:\u002F\u002Fposer.pugx.org\u002Fwp-graphql\u002Fwp-graphql\u002Fd\u002Fdaily)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fwp-graphql\u002Fwp-graphql)\n[![Latest Stable Version](https:\u002F\u002Fposer.pugx.org\u002Fwp-graphql\u002Fwp-graphql\u002Fv\u002Fstable)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fwp-graphql\u002Fwp-graphql)\n[![Testing Integration](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Fworkflows\u002FTesting%20Integration\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Factions?query=workflow%3A%22Testing+Integration%22)\n[![WordPress Coding Standards](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Fworkflows\u002FWordPress%20Coding%20Standards\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Factions?query=workflow%3A%22WordPress+Coding+Standards%22)\n[![Schema Linter](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Fworkflows\u002FSchema%20Linter\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Factions?query=workflow%3A%22Schema+Linter%22)\n[![GraphiQL E2E Tests](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Fworkflows\u002FGraphiQL%20E2E%20Tests\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Factions?query=workflow%3A%22GraphiQL+E2E+Tests%22)\n[![Code Quality](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Fworkflows\u002FCode%20Quality\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Factions?query=workflow%3A%22Code+Quality%22)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fwp-graphql\u002Fwp-graphql\u002Fbranch\u002Fmain\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fwp-graphql\u002Fwp-graphql)\n\n**Unlock the power of WordPress data with GraphQL**\n\nWPGraphQL provides an extendable GraphQL API for any WordPress site, unlocking modern development workflows.\n\nWhether you're a WordPress developer exploring GraphQL or a GraphQL expert diving into WordPress, WPGraphQL simplifies data interaction and empowers your development workflow.\n\n---\n\n### 📁 **Repository Structure**\n\nThis is a monorepo containing the WPGraphQL ecosystem of plugins and websites:\n\n```\nwp-graphql\u002F\n├── plugins\u002F\n│   ├── wp-graphql\u002F          # WPGraphQL core plugin\n│   ├── wp-graphql-ide\u002F      # IDE extension plugin\n│   ├── wp-graphql-smart-cache\u002F # Smart Cache extension plugin\n│   └── wp-graphql-acf\u002F      # ACF extension plugin\n├── websites\u002F\n│   └── wpgraphql.com\u002F        # WPGraphQL.com Next.js website\n├── .wp-env.json             # Shared WordPress environment config\n├── package.json             # Root workspace configuration\n└── turbo.json               # Turborepo build orchestration\n```\n\n**For end users**: Nothing changes! Install WPGraphQL from WordPress.org, Composer, or download the release zip.\n\n**For contributors**: Clone the repo and run:\n```bash\nnpm install           # Install dependencies (uses workspaces)\nnpm run wp-env start  # Start WordPress environment with all plugins\n```\n\n📚 See the [Development Guide](.\u002Fdocs\u002FDEVELOPMENT.md) for detailed setup instructions.\n\n---\n\n### 🎯 **Vision**\n\nWPGraphQL aims to be the **canonical GraphQL API for WordPress**, providing:\n\n- **A complete, flexible GraphQL schema** for accessing WordPress data\n- **Standards-based implementation** following GraphQL and WordPress best practices\n- **An extensible foundation** for plugins to build upon\n- **Production-ready performance** suitable for high-traffic sites\n- **Long-term stability** with semantic versioning and backward compatibility\n\n#### What Belongs in WPGraphQL Core?\n\n**In scope:**\n\n- GraphQL schema for WordPress core features (posts, pages, users, taxonomies, etc.)\n- Performance optimizations that benefit all users\n- Developer APIs for extending the schema\n- Standards and patterns for the WPGraphQL ecosystem\n\n**Candidates for core (via Experiments):**\n\n- Proposed features that need real-world validation before committing\n- Breaking changes that require community feedback\n- Performance improvements that need testing at scale\n- [Learn more about Experiments →](\u002Fdocs\u002Fexperiments)\n\n**Better as extensions:**\n\n- Plugin-specific integrations (ACF, Yoast, WooCommerce, etc.)\n- Opinionated workflows or conventions\n- Features specific to particular frameworks or use cases\n\n**The difference:** Experiments are potential core features being validated. Extensions are intentionally separate functionality that should remain as plugins. Experiments may graduate to core or be removed; extensions live independently forever.\n\nThis focus keeps WPGraphQL maintainable while enabling a rich ecosystem of extensions.\n\n---\n\n### 🚀 **Get Started**\n\n1. 📦 Install WPGraphQL: `wp plugin install wp-graphql --activate`\n2. 👩‍💻 Try it out: [Live Demo](https:\u002F\u002Frepl.wpgraphql.com)\n3. 📖 Read the [Quick Start Guide](https:\u002F\u002Fwpgraphql.com\u002Fdocs\u002Fquick-start).\n4. 💬 Join the [Community on Discord](https:\u002F\u002Fwpgraphql.com\u002Fdiscord)\n5. ⭐ [Star the Repo](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql) on GitHub 😉\n\n---\n\n### 🌟 **Key Features**\n\n- **Flexible API**: Access posts, pages, custom post types, taxonomies, users, and more.\n- **Extendable Schema**: Easily add functionality with functions like `register_graphql_field` and `register_graphql_connection`.\n  - Plugins like [WPGraphQL Smart Cache](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Ftree\u002Fmain\u002Fplugins\u002Fwp-graphql-smart-cache), [WPGraphQL for ACF](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Ftree\u002Fmain\u002Fplugins\u002Fwp-graphql-acf) and [other extension plugins](https:\u002F\u002Fwpgraphql.com\u002Fextensions) demonstrate the power of extendability.\n- **Modern Framework Integration**: Works seamlessly with [Next.js](https:\u002F\u002Fvercel.com\u002Fguides\u002Fwordpress-with-vercel), [Svelte](https:\u002F\u002Fwww.okupter.com\u002Fblog\u002Fheadless-wordpress-graphql-sveltekit), [Astro](https:\u002F\u002Fdocs.astro.build\u002Fen\u002Fguides\u002Fcms\u002Fwordpress\u002F) and other frameworks.\n- **Optimized Performance**: Query only the data you need. Collect multiple resources in one request, reducing round-trips. Use [WPGraphQL Smart Cache](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Ftree\u002Fmain\u002Fplugins\u002Fwp-graphql-smart-cache) for enhanced performance and network-level caching and cache-invalidation.\n- **Developer Tools**: Explore the schema with tools like the [GraphiQL IDE](https:\u002F\u002Fwww.wpgraphql.com\u002Fdocs\u002Fwp-graphiql) and [WordPress Playground](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwp-graphql\u002F?preview=1).\n\n![graphiql-ide-example.gif](plugins\u002Fwp-graphql\u002Fimg\u002Fgraphiql-ide-example.gif)\n\n---\n\n### 📖 **Documentation**\n\n**For Users:**\n- [Quick Start](https:\u002F\u002Fwww.wpgraphql.com\u002Fdocs\u002Fquick-start)\n- [Intro to GraphQL](https:\u002F\u002Fwpgraphql.com\u002Fdocs\u002Fintro-to-graphql)\n- [Intro to WordPress](https:\u002F\u002Fwpgraphql.com\u002Fdocs\u002Fintro-to-wordpress)\n- [Extensions](https:\u002F\u002Fwww.wpgraphql.com\u002Fextensions)\n- [Advanced Topics](https:\u002F\u002Fwww.wpgraphql.com\u002Fdocs\u002Fwpgraphql-concepts)\n\n**For Contributors:**\n- [Development Setup](.\u002Fdocs\u002FDEVELOPMENT.md) - Local environment setup\n- [Contributing Guide](.\u002Fdocs\u002FCONTRIBUTING.md) - How to contribute\n- [Testing Guide](.\u002Fdocs\u002FTESTING.md) - Running tests\n- [Architecture](.\u002Fdocs\u002FARCHITECTURE.md) - Codebase overview\n\n---\n\n### 🤝 **Community Support**\n\nWPGraphQL is powered by a passionate community of contributors, backers, and sponsors.\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql\u002Fgraphs\u002Fcontributors\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fwp-graphql\u002Fcontributors.svg?width=890&button=false\" \u002F>\u003C\u002Fa>\n\n[![Backers on Open Collective](https:\u002F\u002Fopencollective.com\u002Fwp-graphql\u002Fbackers\u002Fbadge.svg)](https:\u002F\u002Fopencollective.com\u002Fwp-graphql#backer) [![Sponsors on Open Collective](https:\u002F\u002Fopencollective.com\u002Fwp-graphql\u002Fsponsors\u002Fbadge.svg)](https:\u002F\u002Fopencollective.com\u002Fwp-graphql#sponsor)\n\nWant to help maintain and grow WPGraphQL?\n\n- [Support the project on Open Collective](https:\u002F\u002Fopencollective.com\u002Fwp-graphql)\n- [Join the Community on Discord](https:\u002F\u002Fwpgraphql.com\u002Fdiscord)\n- [Contribute to the project on GitHub](https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql)\n\n---\n\n### 🙌 Shout Outs\n\nWe extend our gratitude to the following projects and organizations for their contributions to the WordPress and GraphQL ecosystems:\n\n- **[Webonyx](https:\u002F\u002Fgithub.com\u002Fwebonyx\u002Fgraphql-php)**: For the amazing `graphql-php` library that powers WPGraphQL's core functionality.\n- **[Ivome](https:\u002F\u002Fgithub.com\u002Fivome\u002Fgraphql-relay-php)**: For the `graphql-relay-php` library used in relay connections.\n- **[Automattic](https:\u002F\u002Fautomattic.com)**: For supporting WPGraphQL's ongoing development as a canonical WordPress plugin.\n- **[Gatsby](https:\u002F\u002Fwww.gatsbyjs.com)**: For their contributions to the WPGraphQL ecosystem and support for headless WordPress development.\n- **[WPEngine](https:\u002F\u002Fwpengine.com)**: For funding early development of WPGraphQL and supporting its growth.\n- **[Facebook](https:\u002F\u002Fgraphql.org)**: For open-sourcing the GraphQL spec, GraphiQL, and maintaining the JavaScript reference implementation.\n- **[Apollo](https:\u002F\u002Fwww.apollographql.com)**: For pushing GraphQL forward and inspiring schema design best practices.\n- **The WordPress REST API Contributors**: For paving the way with the WP-API project, inspiring WPGraphQL's architecture.\n\nThank you to all these organizations and individuals for their efforts in shaping the tools we rely on today.\n\n---\n\n### 🔌 **Canonical Plugin**\n\nWPGraphQL is becoming a [Canonical Plugin on WordPress.org](https:\u002F\u002Fwordpress.org\u002Fnews\u002F2024\u002F10\u002Fwpgraphql\u002F), ensuring long-term support and a growing community of users and contributors.\n\n---\n\n### 🛠 **Privacy & Telemetry**\n\nWPGraphQL uses the [Appsero SDK](https:\u002F\u002Fappsero.com\u002Fprivacy-policy) to collect telemetry data **only after user consent**, helping us improve the plugin responsibly.\n\nWhen telemetry is enabled, each payload is sent to Appsero **and** mirrored in non-blocking requests to WPGraphQL-operated infrastructure at [https:\u002F\u002Ftelemetry.wpgraphql.com](https:\u002F\u002Ftelemetry.wpgraphql.com) (the same data as described in Appsero’s policy).\n","WPGraphQL 是一个为 WordPress 站点提供可扩展 GraphQL API 的插件，旨在解锁现代化的开发工作流。其核心功能包括通过 GraphQL 查询 WordPress 数据，支持多种扩展插件如 ACF 集成、智能缓存等，以增强数据处理能力。该项目采用 PHP 编写，并遵循严格的编码标准和测试流程确保代码质量。适用于需要高效获取和操作 WordPress 内容的应用场景，特别适合那些希望利用 GraphQL 的强大查询能力来构建或优化前端应用（例如使用 Gatsby.js）的开发者。",2,"2026-06-11 03:18:12","top_language"]