hasura-extra/hasura-bundle
A Symfony bundle for integrating the Hasura GraphQL engine into PHP applications. It provides configuration, service wiring, and convenience tooling so you can connect to Hasura, manage settings, and query its APIs more easily. Simplify setup and streamline GraphQL workflows from your Symfony projec...
x-hasura-* session variables into handlers, and how event payloads get deserialized. Use it to size the work, not to deliver it.app/Hasura/ namespace) rather than an indefinite "leave it alone."Consider only as a reference implementation, not a runtime dependency. Concretely, that means: you are on Symfony (it is a Symfony Kernel bundle — hasura-extra/hasura-bundle will not install usefully into a Laravel app, despite the Laravel/PHP framing in the brief), you already operate Hasura in production, and you want a working example of action/event handler wiring to read before writing your own.
Look elsewhere — or build — if any of the following is true:
Preferred alternatives, in order: hand-rolled controllers plus Hasura's own action/event-trigger documentation and CLI codegen; an internal shared package if multiple services need it; the sibling hasura-extra/* libraries only if you have independently verified one is maintained (this one is not).
To executives (one paragraph): We evaluated hasura-extra/hasura-bundle as a way to connect our PHP backend to Hasura's Actions and Event Triggers. Recommendation: do not adopt it. It is archived, has had no release since October 2021, has essentially no user base, and is built for Symfony rather than our Laravel stack — which means no security patching, no support, and no upgrade path. The functionality it offers is small and well-documented, so if Hasura integration stays on the roadmap we can replace it with roughly two to three days of in-house code that we fully own and can maintain.
To engineering (the ask): Treat the repo as a pattern reference, not a dependency. Mine it for three things — the action handler request/response contract, the admin-secret authentication check, and how x-hasura-* session variables are surfaced to handlers — then implement those as a small internal module behind a clear interface. Keep the interface narrow so a future Hasura version bump touches one place. If it is already in the codebase, open a deprecation ticket with that extraction as the exit criterion.
Risk framing to state plainly: an archived, unmaintained package in the request path is an unowned dependency on the critical path. The cost of writing it ourselves is days; the cost of a silent breakage in action handling or auth is an outage plus an unplanned migration under pressure.
How can I help you explore Laravel packages today?