graphql-php
phpstan-wordpress
graphql-php | phpstan-wordpress | |
---|---|---|
8 | 1 | |
4,605 | 245 | |
0.2% | - | |
8.9 | 6.8 | |
13 days ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-php
-
graphql-laravel 9.0.0 released 🎉
This package provides a convenient integration of the great https://github.com/webonyx/graphql-php/ library for Laravel 9+.
-
GraphQLite v6.0 Released - Introducing a more Succinct Syntax
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.
-
Shill me on Apollo client.
Why would I want to use Apollo Client? So far in my career I have used some server graphql scaffolding (webonyx/graphql-php for PHP and mercurius for Node) and just used the fetch API (or whatever ajax API around XMLHttpRequest) against that server with the body being an object with
-
New GraphQL implementation is up to two times as fast as webonyx/graphql-php
After all your great feedback (see previous post) we adapted the library and wrote a benchmark tool to compare our GraphQL implementation (https://github.com/joonlabs/php-graphql) against the currently most used one (https://github.com/webonyx/graphql-php). Depending on the query we were able to achieve a speed improvement of up to 50% - please head to the document for more (technical) information, thoughts and explanations.
-
Best way to hit multiple endpoints on app open
Check out https://github.com/webonyx/graphql-php
-
Introducing GraphQL by PoP, a CMS-agnostic GraphQL server in PHP
what's wrong with the reference implementation? https://github.com/webonyx/graphql-php 🤔
-
Problem with API
GraphQL API's are not very simple to use with plain PHP. I recommend to use a decent GraphQL PHP library to make your life easier. Webonyx Graphql PHP is the one I use in my project. https://github.com/webonyx/graphql-php
phpstan-wordpress
-
Introducing GraphQL by PoP, a CMS-agnostic GraphQL server in 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.
What are some alternatives?
graphqlite - Use PHP Attributes/Annotations to declare your GraphQL API
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
HAL - application/hal builder / formatter for PHP 5.4+
phpstan-deprecation-rules - PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
graphql-benchmarks - A comparison of the two PHP GraphQL implementations webonyx/graphql-php and joonlabs/php-graphql
extension-installer - Composer plugin for automatic installation of PHPStan extensions.
graphql-doctrine - Automatic GraphQL types from Doctrine entities
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
GatoGraphQL - Interact with all your data in WordPress using GraphQL
wordpress-stubs - Up-to-date WordPress function and class declaration stubs for static analysis by PHPStan
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.
lightncandy - An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),