PHP GraphQL

Open-source PHP projects categorized as GraphQL

Top 19 PHP GraphQL Projects

  • graphql-php

    PHP implementation of the GraphQL specification based on the reference implementation in JavaScript

  • Project mention: graphql-laravel 9.0.0 released πŸŽ‰ | /r/laravel | 2023-06-25

    This package provides a convenient integration of the great https://github.com/webonyx/graphql-php/ library for Laravel 9+.

  • wp-graphql

    :rocket: GraphQL API for WordPress

  • Project mention: Why Everyone Hates WordPress | dev.to | 2024-02-12

    Are you dead set on building a Nuxt + Vue application? Partial to NextJS like I am? Well good news everyone, WordPress has done a pretty decent job over the past couple of years building out the WordPress API and enabling developers to leverage WordPress as a Headless CMS. Pair that with the amazing WPGraphQL Pluginand you’re cooking with JavaScript. You get all the benefits of really solid backend CMS that end users are familiar with, and can grasp with a 1 hour CMS training, distributed using your favorite flavor of JavaScript.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cms

    The core Laravel CMS Composer package

  • Project mention: Statamic – modern, clean, and highly adaptable CMS built on Laravel | news.ycombinator.com | 2024-04-12
  • lighthouse

    A framework for serving GraphQL from Laravel (by nuwave)

  • Project mention: Go with PHP | news.ycombinator.com | 2023-05-10

    Sure.

    1. SQLC is little more than a template generator for Prepared Statements wrapped in a class. [https://www.php.net/manual/en/mysqli.quickstart.prepared-sta...]. It's not exactly a mind bending or time saving tool.

    2. There are multiple OpenAPI generators for PHP, in fact, they existed from nearly the start of the OpenAPI protocol (formerly Swagger) when Go was barely a year old. Here's a current popular one: https://openapi-generator.tech/docs/generators/php/]

    3. PHP also, (unsurprisingly given the origination point of the spec) has many GraphQL implementations that support any database driver over ODBC, key-value stores, or even flat files. Here's one that plugs into Laravel [https://lighthouse-php.com/]

    4. PHP has many mature, modern embedded KV store options... but it's also had one in the standard lib since years before Go even existed, or the concept of KV stores was even popular. [https://www.php.net/manual/en/class.splobjectstorage.php].

    On your non-numbered points...

    Go and PHP are fairly similar in raw processing speed since the JIT was added to PHP. However raw number crunching is rarely realistic when most applications are going to be using databases, stores, etc. So why not look at a benchmark of popular frameworks in both languages - which shows, again that the two are fairly similar in performance. [https://www.techempower.com/benchmarks/#section=data-r21&l=z...]

    PHP has also had types for about 4 years now. It's not statically typed, but that's a preference, not a pro/con situation.

    Built-in formatting is also a preference, not a pro/con situation. Many developers strongly dislike languages like Go and Python for this.

    PHP has had one of the most powerful and useful package management ecosystems in the entire open source world since composer mostly replaced PEAR nearly a decade ago. It also has mature and well loved testing tooling. Neither of which are built in, because why would you need to build in tools that the community already creates and maintains for free?

    I don't know what "bugs" you faced in the PHP stdlib, but I will concede that it is painful to use. Most of the stdlib is little more than a wrapper around C functions of the same name, and they inherit the frustration of using those C functions.

    Laravel does allow you to write things by hand. You can also just define them ahead of time and have the Migrations, Models, Controllers, Views, Transformers and more generated for you automatically. [https://blueprint.laravelshift.com/]

    There you go, there's your links. But frankly, you didn't need them. There's little you mentioned that's unique to Go at all, you just named a bunch of things that have become popular tools for most modern languages still being actively developed. I'm not sure why you think any of these things are Go-specific - some of them are maintained by the Go core team, like other newer languages have started doing, but that's it.

  • CraftCMS

    Build bespoke content experiences with Craft. (by craftcms)

  • Project mention: Different flavors of content management | dev.to | 2023-08-28

    The most typical approach is having a CMS admin panel sit somewhere on the server; everyone with an account uses this. This is a very convenient approach, especially when working with a team. This way, many people can work on different articles simultaneously without worrying about potential conflicts or overwriting stuff. The only con is related to security - everyone can try to get inside, and if you forget to update our CMS or some user have a weak password, it can be someone outside of our team. WordPress, Drupal, CraftCMS, or Ghost are perfect examples of such CMSs.

  • core

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

  • Project mention: How to migrate from Api Platform v2 to v3? | dev.to | 2023-11-29

    For instance, there are cache problems on Api Platform v3.0, so you should consider upgrading directly to the latest minor version available.

  • OverblogGraphQLBundle

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • wp-graphql-acf

    WPGraphQL for Advanced Custom Fields

  • wp-graphql-woocommerce

    Add WooCommerce support and functionality to your WPGraphQL server

  • GatoGraphQL

    Interact with all your data in WordPress using GraphQL

  • Project mention: Database Extension that creates webpages for each entry? | /r/Wordpress | 2023-12-10

    Gato GraphQL. You can import from CSV (that you can generate from Excel or Google Sheets), and also create templates for the page to create, containing placeholders such as {$title}, {$content}, {$imageURL}, {$authorName}, etc

  • wp-graphql-jwt-authentication

    Authentication for WPGraphQL using JWT (JSON Web Tokens)

  • wp-graphql-gutenberg

    Query gutenberg blocks with wp-graphql

  • wp-graphql-polylang

    WPGraphQL Polylang Extension for WordPress

  • graphql-doctrine

    Automatic GraphQL types from Doctrine entities

  • wp-graphql-content-blocks

    Plugin that extends WPGraphQL to support querying (Gutenberg) Blocks as data

  • Project mention: Why is does modern HTML/CSS seem so complex and convoluted? (details in comment) | /r/webdev | 2023-05-23

    - WPGraphQL Content Blocks

  • 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.

  • ExtensionStarter

    GitHub template repository to develop and release your extensions for Gato GraphQL

  • Project mention: Show HN: Multi-Monorepo Architecture as Starter Project | news.ycombinator.com | 2023-11-13
  • watchtower-symfony-bundle

    Easily serve a GraphQL API for your Symfony application in as few as three easy steps!

  • Project mention: WedrixWatchtowerBundle for easy integration of GraphQL | /r/symfony | 2023-07-11
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

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,603
2 wp-graphql 3,600
3 cms 3,396
4 lighthouse 3,317
5 CraftCMS 3,156
6 core 2,357
7 OverblogGraphQLBundle 776
8 wp-graphql-acf 625
9 wp-graphql-woocommerce 624
10 GatoGraphQL 350
11 wp-graphql-jwt-authentication 321
12 wp-graphql-gutenberg 296
13 wp-graphql-polylang 117
14 graphql-doctrine 98
15 wp-graphql-content-blocks 92
16 php-graphql 53
17 graphpinator 38
18 ExtensionStarter 2
19 watchtower-symfony-bundle 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com