LaravelPackages.net
Acme Inc.
Toggle sidebar
jbernavaprah/lighthouse-error-handler

An Error handler for Lighthouse

95
1
v1.1.1
About jbernavaprah/lighthouse-error-handler

jbernavaprah/lighthouse-error-handler is a Laravel package for an error handler for lighthouse. It currently has 1 GitHub stars and 95 downloads on Packagist (latest version v1.1.1). Install it with composer require jbernavaprah/lighthouse-error-handler. Discover more Laravel packages by jbernavaprah or browse all Laravel packages to compare alternatives.

Last updated

lighthouse-error-handler

Software License GitHub Tests Action Status Coverage Status PHPStan Latest Version on Packagist Total Downloads

Is not PRODUCTION READY.

Implement error handler like described here: https://blog.logrocket.com/handling-graphql-errors-like-a-champ-with-unions-and-interfaces/

It's still work in progress. So not production ready!

Requirements

Installation

1. Install using composer:

composer require jbernavaprah/lighthouse-error-handler

2. Publish configuration and schema

php artisan vendor:publish --tag=lighthouse-error-handler

That's it!

You will se every type new type covered by the default errors from Laravel/Lumen.

Comments