Our great sponsors
-
graphql-php
PHP implementation of the GraphQL specification based on the reference implementation in 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.
-
lightncandy
An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),
GraphQL by PoP is a series of PHP packages (all the ones hosted under layers/GraphQLByPoP), which are managed via Composer. The WordPress plugin is basically a composer.json file to specify all the needed packages, plus some logic on top to add some custom WordPress stuff, and the user interface via the WordPress editor to operate the server.
what's wrong with the reference implementation? https://github.com/webonyx/graphql-php 🤔
So I have set-up PHPStan on all agnostic packages, aiming to level 8 (I'm not there yet). And with the WordPress packages I also run PHPStan (thanks to szepeviktor/phpstan-wordpress), being able to focus on WordPress code only.
Even more, if rendering on the client using Handlebars templates, these can be compiled to PHP code via LightnCandy, so you got a universal application (server and client side rendered from a single source of truth).