PHP GraphQL

Open-source PHP projects categorized as GraphQL Edit details

Top 18 PHP GraphQL Projects

  • graphql-php

    A PHP port of GraphQL reference implementation

    Project mention: GraphQLite v6.0 Released - Introducing a more Succinct Syntax | reddit.com/r/PHP | 2022-06-11

    What would be the purpose of defining a schema in "SQL" for an annotation driven schema design? If you want to define your schema GraphQL SQL, you should just use https://github.com/webonyx/graphql-php directly. GraphQLite is built on top of this lib, simply allowing you to define your schema via annotations, then builds out and cache's the SDL for you.

  • wp-graphql

    :rocket: GraphQL API for WordPress

    Project mention: Upgrading to headless Wordpress with Gatsby | reddit.com/r/gatsbyjs | 2022-06-30

    But WP itself has a good graphQL pluginfor it https://www.wpgraphql.com and ACF has graphql support as do several major plugins like Yoast.

  • Cloudways

    Managed Cloud Hosting Platform. Cloudways leverages advanced technology and powerful servers. Cloudways is a one-click managed cloud hosting platform that provides cloud application and server management solutions.

  • lighthouse

    A framework for serving GraphQL from Laravel (by nuwave)

    Project mention: Creating a GraphQL Server With PHP | reddit.com/r/laravel | 2022-06-02

    Lighthouse is a good option too: https://lighthouse-php.com/

  • CraftCMS

    Craft is a flexible, extensible platform for creating bespoke digital experiences.

    Project mention: Building a blog website with some landing pages. Laravel instead of WordPress? | reddit.com/r/laravel | 2022-05-20

    As u/frontendben said, you can use Statamic CMS, it is a decent solution, and there are a number of others like October CMS, Asgard CMS (a bit old, but quite solid), LavaLite, Pyro etc. Craft CMS (based on Yii) could also be a possibility. Here is a list of someone's opinions on 5 popular Laravel-based CMSs.

  • core

    The server component of API Platform: hypermedia and GraphQL APIs in minutes (by api-platform)

    Project mention: (API Platform / Swagger) How to create a custom path with multiple methods? | reddit.com/r/symfony | 2022-05-11

    /api/same-route is a unique identifier. Calling addPath with an existing identifier just overwrites your previous call, see https://github.com/api-platform/core/blob/main/src/OpenApi/Model/Paths.php You should call addPath once, and the instance of PathItem class should contain all HTTP methods, see constructor arguments.

  • cms

    Statamic 3: The Core Composer Package (by statamic)

    Project mention: Cms - Statamic 3: The Core Composer Package | reddit.com/r/github_trends | 2022-05-12
  • OverblogGraphQLBundle

    This bundle provides tools to build a complete GraphQL server in your Symfony App.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • wp-graphql-acf

    WPGraphQL for Advanced Custom Fields

  • wp-graphql-woocommerce

    Add WooCommerce support and functionality to your WPGraphQL server

    Project mention: Offline payment for Woocommerce | reddit.com/r/gatsbyjs | 2022-05-14
  • graphqlite

    Use PHP Attributes/Annotations to declare your GraphQL API (by thecodingmachine)

    Project mention: GraphQLite v6.0 Released - Introducing a more Succinct Syntax | reddit.com/r/PHP | 2022-06-11

    With the release of version 6.0 for GraphQLite changes have been made regarding how you can annotate your objects. I feel it is a good time to showcase the power and simplicity of this GraphQL lib. Many people don't realize how succinctly a GraphQL API can be written in PHP.

  • PoP

    Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder (by leoloso)

    Project mention: How do you handle views? | reddit.com/r/PHP | 2021-12-04

    My project is this one: https://github.com/leoloso/PoP. This all belongs to the "Site Builder" layer, which is a work in progress. I don't know when I'll have it ready though (I'm currently working on the GraphQL server for WP layer, once I'm done there I'll move on to the Site Builder).

  • wp-graphql-jwt-authentication

    Authentication for WPGraphQL using JWT (JSON Web Tokens)

    Project mention: 10+The Best PHP Projects GitHub 2022 | dev.to | 2021-11-08

    JWT authentication plugins: JWT WP REST and JWT WP GraphQL.

  • wp-graphql-gutenberg

    Query gutenberg blocks with wp-graphql

    Project mention: Headless WP experiment I: Low-code dashboard approach | dev.to | 2022-04-24

    (Another strategy is receiving blocks via WPGraphQL and render them individually via wp-graphql-gutenberg, see e.g. https://www.youtube.com/watch?v=4Ybro_joKMk). Jason Bahl talked about this briefly at WPeDecode conference as well.

  • graphql-api-for-wp

    [READ ONLY] GraphQL API for WordPress

    Project mention: Top ways to write a custom GraphQL Server with production ready features | reddit.com/r/graphql | 2021-11-24

    GraphQL API for WordPress

  • wp-graphql-polylang

    WPGraphQL Polylang Extension for WordPress

    Project mention: Multi-Lingual Headless WordPress | dev.to | 2022-07-04

    Next, we need to expose Polylang's languages and translations for our post in the GraphQL schema. Go to the WPGraphQL for Polylang github repository page here: https://github.com/valu-digital/wp-graphql-polylang

  • graphql-doctrine

    Automatic GraphQL types from Doctrine entities

  • php-graphql

    A PHP implementation of the GraphQL specifications

  • graphpinator

    :zap::globe_with_meridians::zap: Easy-to-use & Fast GraphQL server implementation for modern PHP. Includes features from latest draft, middleware directives and modules with extra functionality.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-07-04.

PHP GraphQL related posts

Index

What are some of the best open-source GraphQL projects in PHP? This list will help you:

Project Stars
1 graphql-php 4,338
2 wp-graphql 3,256
3 lighthouse 2,912
4 CraftCMS 2,848
5 core 2,103
6 cms 1,942
7 OverblogGraphQLBundle 705
8 wp-graphql-acf 510
9 wp-graphql-woocommerce 501
10 graphqlite 494
11 PoP 249
12 wp-graphql-jwt-authentication 245
13 wp-graphql-gutenberg 240
14 graphql-api-for-wp 149
15 wp-graphql-polylang 88
16 graphql-doctrine 88
17 php-graphql 51
18 graphpinator 33
Find remote jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com