PHPackages                             jbernavaprah/lighthouse-error-handler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. jbernavaprah/lighthouse-error-handler

ActiveLibrary[API Development](/categories/api)

jbernavaprah/lighthouse-error-handler
=====================================

An Error handler for Lighthouse

v1.1.1(4y ago)195MITPHPPHP ^8.1

Since May 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jBernavaPrah/lighthouse-error-handler)[ Packagist](https://packagist.org/packages/jbernavaprah/lighthouse-error-handler)[ RSS](/packages/jbernavaprah-lighthouse-error-handler/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (14)Versions (5)Used By (0)

lighthouse-error-handler
========================

[](#lighthouse-error-handler)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4c2358083b29ab372b4d6373e5fac550569e381f6b8d42d7bf07064519df974a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a4265726e617661507261682f6c69676874686f7573652d6572726f722d68616e646c65722f54657374733f6c6162656c3d7465737473)](https://github.com/jBernavaPrah/lighthouse-error-handler/actions?query=workflow%3Arun-tests+branch%3Amain)[![Coverage Status](https://camo.githubusercontent.com/6e159890817089fc1d5a315eaa141af492da2d9ce4cbcd388350a4a4f981aa21/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a4265726e617661507261682f6c69676874686f7573652d6572726f722d68616e646c65722f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/jBernavaPrah/lighthouse-error-handler?branch=main)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)[![Latest Version on Packagist](https://camo.githubusercontent.com/718341951c931c00409faeaeefce5f970072e3407bd3ca71c48420381a475a14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6265726e617661707261682f6c69676874686f7573652d6572726f722d68616e646c65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jBernavaPrah/lighthouse-error-handler)[![Total Downloads](https://camo.githubusercontent.com/9d0f63d0e6f88cd2847153eea875f3e9b31ca8d285fa84b82d238f7c1219b166/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a4265726e617661507261682f6c69676874686f7573652d6572726f722d68616e646c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jBernavaPrah/lighthouse-error-handler)

### Is not PRODUCTION READY.

[](#is-not-production-ready)

Implement error handler like described here:

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

Requirements
------------

[](#requirements)

- [laravel/laravel:^9.0](https://github.com/laravel/laravel)
- [nuwave/lighthouse:^5.5](https://github.com/nuwave/lighthouse)

Installation
------------

[](#installation)

#### 1. Install using composer:

[](#1-install-using-composer)

```
composer require jbernavaprah/lighthouse-error-handler
```

#### 2. Publish configuration and schema

[](#2-publish-configuration-and-schema)

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

That's it!
----------

[](#thats-it)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

1489d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11057215?v=4)[Jure - Bernava Prah](/maintainers/jbernavaprah)[@jBernavaPrah](https://github.com/jBernavaPrah)

---

Top Contributors

[![jBernavaPrah](https://avatars.githubusercontent.com/u/11057215?v=4)](https://github.com/jBernavaPrah "jBernavaPrah (10 commits)")

---

Tags

laravelgraphqlerror-handlerlaravel-graphqllighthouse-php

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/jbernavaprah-lighthouse-error-handler/health.svg)

```
[![Health](https://phpackages.com/badges/jbernavaprah-lighthouse-error-handler/health.svg)](https://phpackages.com/packages/jbernavaprah-lighthouse-error-handler)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M134](/packages/darkaonline-l5-swagger)[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k11.8M117](/packages/nuwave-lighthouse)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M63](/packages/knuckleswtf-scribe)[aimeos/aimeos-laravel

Cloud native, API first Laravel eCommerce package with integrated AI for ultra-fast online shops, marketplaces and complex B2B projects

8.7k225.1k5](/packages/aimeos-aimeos-laravel)[yakovenko/laravel-lighthouse-graphql-multi-schema

A Laravel package that provides multi-schema support for Lighthouse GraphQL.

16134.5k](/packages/yakovenko-laravel-lighthouse-graphql-multi-schema)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
