{"id":13452312,"url":"https://github.com/wp-graphql/wp-graphql","last_synced_at":"2026-03-04T05:07:59.012Z","repository":{"id":37271048,"uuid":"72453516","full_name":"wp-graphql/wp-graphql","owner":"wp-graphql","description":":rocket: GraphQL API for WordPress","archived":false,"fork":false,"pushed_at":"2025-05-05T17:14:55.000Z","size":82858,"stargazers_count":3709,"open_issues_count":118,"forks_count":454,"subscribers_count":68,"default_branch":"develop","last_synced_at":"2025-05-07T07:59:44.658Z","etag":null,"topics":["api","gatsby","graphql","graphql-api","graphql-php-library","graphql-server","hacktoberfest","wordpress","wordpress-plugin","wp-plugin","wpgraphql"],"latest_commit_sha":null,"homepage":"https://www.wpgraphql.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-graphql.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-10-31T16:06:18.000Z","updated_at":"2025-05-06T12:13:41.000Z","dependencies_parsed_at":"2024-02-20T20:31:02.293Z","dependency_job_id":"a7849f95-1719-4b36-be39-f79ff97e0df8","html_url":"https://github.com/wp-graphql/wp-graphql","commit_stats":{"total_commits":4306,"total_committers":175,"mean_commits":"24.605714285714285","dds":0.4505341384115188,"last_synced_commit":"617f6c7266b29f280b65b969759ac08bb7d27583"},"previous_names":[],"tags_count":233,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fwp-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fwp-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fwp-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-graphql%2Fwp-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-graphql","download_url":"https://codeload.github.com/wp-graphql/wp-graphql/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253701898,"owners_count":21949894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","gatsby","graphql","graphql-api","graphql-php-library","graphql-server","hacktoberfest","wordpress","wordpress-plugin","wp-plugin","wpgraphql"],"created_at":"2024-07-31T07:01:20.309Z","updated_at":"2026-01-16T02:58:06.307Z","avatar_url":"https://github.com/wp-graphql.png","language":"PHP","readme":"\u003cimg src=\"./img/logo.png\" alt=\"WPGraphQL Logo\" width=\"96\" height=\"96\" style=\"max-width: 96px; max-height: 96px;\"\u003e\n\n# WPGraphQL\n\n[![Total Downloads](https://poser.pugx.org/wp-graphql/wp-graphql/downloads)](https://packagist.org/packages/wp-graphql/wp-graphql)\n[![Monthly Downloads](https://poser.pugx.org/wp-graphql/wp-graphql/d/monthly)](https://packagist.org/packages/wp-graphql/wp-graphql)\n[![Daily Downloads](https://poser.pugx.org/wp-graphql/wp-graphql/d/daily)](https://packagist.org/packages/wp-graphql/wp-graphql)\n[![Latest Stable Version](https://poser.pugx.org/wp-graphql/wp-graphql/v/stable)](https://packagist.org/packages/wp-graphql/wp-graphql)\n[![Testing Integration](https://github.com/wp-graphql/wp-graphql/workflows/Testing%20Integration/badge.svg)](https://github.com/wp-graphql/wp-graphql/actions?query=workflow%3A%22Testing+Integration%22)\n[![WordPress Coding Standards](https://github.com/wp-graphql/wp-graphql/workflows/WordPress%20Coding%20Standards/badge.svg)](https://github.com/wp-graphql/wp-graphql/actions?query=workflow%3A%22WordPress+Coding+Standards%22)\n[![Schema Linter](https://github.com/wp-graphql/wp-graphql/workflows/Schema%20Linter/badge.svg)](https://github.com/wp-graphql/wp-graphql/actions?query=workflow%3A%22Schema+Linter%22)\n[![GraphiQL E2E Tests](https://github.com/wp-graphql/wp-graphql/workflows/GraphiQL%20E2E%20Tests/badge.svg)](https://github.com/wp-graphql/wp-graphql/actions?query=workflow%3A%22GraphiQL+E2E+Tests%22)\n[![Code Quality](https://github.com/wp-graphql/wp-graphql/workflows/Code%20Quality/badge.svg)](https://github.com/wp-graphql/wp-graphql/actions?query=workflow%3A%22Code+Quality%22)\n[![codecov](https://codecov.io/gh/wp-graphql/wp-graphql/branch/develop/graph/badge.svg)](https://codecov.io/gh/wp-graphql/wp-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### 🎯 **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 →](/docs/experiments)\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://repl.wpgraphql.com)\n3. 📖 Read the [Quick Start Guide](https://wpgraphql.com/docs/quick-start).\n4. 💬 Join the [Community on Discord](https://wpgraphql.com/discord)\n5. ⭐ [Star the Repo](https://github.com/wp-graphql/wp-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://github.com/wp-graphql/wp-graphql-smart-cache), [WPGraphQL for ACF](https://github.com/wp-graphql/wp-graphql-acf) and [other extension plugins](https://wpgraphql.com/extensions) demonstrate the power of extendability.\n- **Modern Framework Integration**: Works seamlessly with [Next.js](https://vercel.com/guides/wordpress-with-vercel), [Svelte](https://www.okupter.com/blog/headless-wordpress-graphql-sveltekit), [Astro](https://docs.astro.build/en/guides/cms/wordpress/) 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://github.com/wp-graphql/wp-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://www.wpgraphql.com/docs/wp-graphiql) and [WordPress Playground](https://wordpress.org/plugins/wp-graphql/?preview=1).\n\n![graphiql-ide-example.gif](img/graphiql-ide-example.gif)\n\n---\n\n### 📖 **Documentation**\n\n- [Quick Start](https://www.wpgraphql.com/docs/quick-start)\n- [Intro to GraphQL](https://wpgraphql.com/docs/intro-to-graphql)\n- [Intro to WordPress](https://wpgraphql.com/docs/intro-to-wordpress)\n- [Extensions](https://www.wpgraphql.com/extensions)\n- [Advanced Topics](https://www.wpgraphql.com/docs/wpgraphql-concepts)\n\n---\n\n### 🤝 **Community Support**\n\nWPGraphQL is powered by a passionate community of contributors, backers, and sponsors.\n\n\u003ca href=\"https://github.com/wp-graphql/wp-graphql/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/wp-graphql/contributors.svg?width=890\u0026button=false\" /\u003e\u003c/a\u003e\n\n[![Backers on Open Collective](https://opencollective.com/wp-graphql/backers/badge.svg)](https://opencollective.com/wp-graphql#backer) [![Sponsors on Open Collective](https://opencollective.com/wp-graphql/sponsors/badge.svg)](https://opencollective.com/wp-graphql#sponsor)\n\nWant to help maintain and grow WPGraphQL?\n\n- [Support the project on Open Collective](https://opencollective.com/wp-graphql)\n- [Join the Community on Discord](https://wpgraphql.com/discord)\n- [Contribute to the project on GitHub](https://github.com/wp-graphql/wp-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://github.com/webonyx/graphql-php)**: For the amazing `graphql-php` library that powers WPGraphQL's core functionality.\n- **[Ivome](https://github.com/ivome/graphql-relay-php)**: For the `graphql-relay-php` library used in relay connections.\n- **[Automattic](https://automattic.com)**: For supporting WPGraphQL's ongoing development as a canonical WordPress plugin.\n- **[Gatsby](https://www.gatsbyjs.com)**: For their contributions to the WPGraphQL ecosystem and support for headless WordPress development.\n- **[WPEngine](https://wpengine.com)**: For funding early development of WPGraphQL and supporting its growth.\n- **[Facebook](https://graphql.org)**: For open-sourcing the GraphQL spec, GraphiQL, and maintaining the JavaScript reference implementation.\n- **[Apollo](https://www.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://wordpress.org/news/2024/10/wpgraphql/), ensuring long-term support and a growing community of users and contributors.\n\n---\n\n### 🛠 **Privacy \u0026 Telemetry**\n\nWPGraphQL uses the [Appsero SDK](https://appsero.com/privacy-policy) to collect telemetry data **only after user consent**, helping us improve the plugin responsibly.\n","funding_links":["https://opencollective.com/wp-graphql"],"categories":["Uncategorized","Plugins","PHP","Libraries","Programming Languages","Implementations","Specification"],"sub_categories":["Uncategorized","WordPress","PHP Libraries","PHP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-graphql%2Fwp-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-graphql%2Fwp-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-graphql%2Fwp-graphql/lists"}