ciloe/graphql-client-php
Lightweight PHP GraphQL client with a basic bridge/client setup or quick factory creation. Supports simple queries, named queries with variables, and optional caching via Symfony Cache adapters. Configure host/URI/token and send requests easily.
Adopt when:
Look elsewhere when:
graphql-request) are more mature.For Executives: "This package lets us build a lightweight, PHP-native GraphQL client without third-party dependencies, cutting costs and reducing vendor risk. It’s ideal for internal tools, microservices, or modernizing legacy systems—think of it as a ‘DIY’ alternative to Apollo or GraphQL Mesh. While not the latest, it’s a low-risk, MIT-licensed way to start using GraphQL today, with room to migrate to more feature-rich solutions later."
For Engineering: "If we need to query GraphQL APIs from PHP without adding JavaScript dependencies or paying for SaaS tools, this package gives us a simple, HTTP-based client to send queries/mutations. It’s best for stable schemas and non-real-time use cases (e.g., admin panels, data sync). Trade-offs: no subscriptions, outdated (last release 2018), but it’s free, open-source, and PHP-native. We’d need to validate schema compatibility and plan for future migration if we need advanced features."
How can I help you explore Laravel packages today?