Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wp-graphql/wp-graphql
:rocket: GraphQL API for WordPress
https://github.com/wp-graphql/wp-graphql
api gatsby graphql graphql-api graphql-php-library graphql-server hacktoberfest wordpress wordpress-plugin wp-plugin wpgraphql
Last synced: 6 days ago
JSON representation
:rocket: GraphQL API for WordPress
- Host: GitHub
- URL: https://github.com/wp-graphql/wp-graphql
- Owner: wp-graphql
- License: gpl-3.0
- Created: 2016-10-31T16:06:18.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-28T21:50:08.000Z (3 months ago)
- Last Synced: 2024-10-29T14:14:40.423Z (2 months ago)
- Topics: api, gatsby, graphql, graphql-api, graphql-php-library, graphql-server, hacktoberfest, wordpress, wordpress-plugin, wp-plugin, wpgraphql
- Language: PHP
- Homepage: https://www.wpgraphql.com
- Size: 73.5 MB
- Stars: 3,660
- Watchers: 69
- Forks: 442
- Open Issues: 113
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: docs/security.md
Awesome Lists containing this project
- awesome - wp-graphql - :rocket: GraphQL API for WordPress (PHP)
- favorite-link - 适用于 WordPress 的 GraphQL API。
- awesome-wpgraphql - Github Repo
- awesome-wordpress-gatsby - WPGraphQL - [Documentation](https://docs.wpgraphql.com/) - WPGraphQL brings the power of GraphQL to your WordPress site. (Plugins / WordPress)
- awesome-list - wp-graphql - graphql | 2993 | (PHP)
README
# WPGraphQL
[![Total Downloads](https://poser.pugx.org/wp-graphql/wp-graphql/downloads)](https://packagist.org/packages/wp-graphql/wp-graphql)
[![Monthly Downloads](https://poser.pugx.org/wp-graphql/wp-graphql/d/monthly)](https://packagist.org/packages/wp-graphql/wp-graphql)
[![Daily Downloads](https://poser.pugx.org/wp-graphql/wp-graphql/d/daily)](https://packagist.org/packages/wp-graphql/wp-graphql)
[![Latest Stable Version](https://poser.pugx.org/wp-graphql/wp-graphql/v/stable)](https://packagist.org/packages/wp-graphql/wp-graphql)
[![Actions Status](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)
[![Actions Status](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)**Unlock the power of WordPress data with GraphQL**
WPGraphQL provides an extendable GraphQL API for any WordPress site, unlocking modern development workflows.
Whether you're a WordPress developer exploring GraphQL or a GraphQL expert diving into WordPress, WPGraphQL simplifies data interaction and empowers your development workflow.
---
### 🚀 **Get Started**
1. 📦 Install WPGraphQL: `wp plugin install wp-graphql --activate`
2. 👩💻 Try it out: [Live Demo](https://repl.wpgraphql.com)
3. 📖 Read the [Quick Start Guide](https://wpgraphql.com/docs/quick-start).
4. 💬 Join the [Community on Discord](https://wpgraphql.com/discord)
5. ⭐ [Star the Repo](https://github.com/wp-graphql/wp-graphql) on GitHub 😉---
### 🌟 **Key Features**
- **Flexible API**: Access posts, pages, custom post types, taxonomies, users, and more.
- **Extendable Schema**: Easily add functionality with functions like `register_graphql_field` and `register_graphql_connection`.
- 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.
- **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.
- **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.
- **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).![graphiql-ide-example.gif](img/graphiql-ide-example.gif)
---
### 📖 **Documentation**
- [Quick Start](https://www.wpgraphql.com/docs/quick-start)
- [Intro to GraphQL](https://wpgraphql.com/docs/intro-to-graphql)
- [Intro to WordPress](https://wpgraphql.com/docs/intro-to-wordpress)
- [Extensions](https://www.wpgraphql.com/extensions)
- [Advanced Topics](https://www.wpgraphql.com/docs/wpgraphql-concepts)---
### 🤝 **Community Support**
WPGraphQL is powered by a passionate community of contributors, backers, and sponsors.
[![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)
Want to help maintain and grow WPGraphQL?
- [Support the project on Open Collective](https://opencollective.com/wp-graphql)
- [Join the Community on Discord](https://wpgraphql.com/discord)
- [Contribute to the project on GitHub](https://github.com/wp-graphql/wp-graphql)---
### 🙌 Shout Outs
We extend our gratitude to the following projects and organizations for their contributions to the WordPress and GraphQL ecosystems:
- **[Webonyx](https://github.com/webonyx/graphql-php)**: For the amazing `graphql-php` library that powers WPGraphQL's core functionality.
- **[Ivome](https://github.com/ivome/graphql-relay-php)**: For the `graphql-relay-php` library used in relay connections.
- **[Automattic](https://automattic.com)**: For supporting WPGraphQL's ongoing development as a canonical WordPress plugin.
- **[Gatsby](https://www.gatsbyjs.com)**: For their contributions to the WPGraphQL ecosystem and support for headless WordPress development.
- **[WPEngine](https://wpengine.com)**: For funding early development of WPGraphQL and supporting its growth.
- **[Facebook](https://graphql.org)**: For open-sourcing the GraphQL spec, GraphiQL, and maintaining the JavaScript reference implementation.
- **[Apollo](https://www.apollographql.com)**: For pushing GraphQL forward and inspiring schema design best practices.
- **The WordPress REST API Contributors**: For paving the way with the WP-API project, inspiring WPGraphQL's architecture.Thank you to all these organizations and individuals for their efforts in shaping the tools we rely on today.
---
### 🔌 **Canonical Plugin**
WPGraphQL 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.
---
### 🛠 **Privacy & Telemetry**
WPGraphQL uses the [Appsero SDK](https://appsero.com/privacy-policy) to collect telemetry data **only after user consent**, helping us improve the plugin responsibly.