PHPackages                             imemento/exceptions-laravel - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. imemento/exceptions-laravel

ActiveLibrary[HTTP &amp; Networking](/categories/http)

imemento/exceptions-laravel
===========================

HTTP Exceptions Handler for Laravel

12.0.0(2mo ago)02.9k1MITPHPPHP ^8.2CI failing

Since Mar 22Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/mementohub/exceptions-laravel)[ Packagist](https://packagist.org/packages/imemento/exceptions-laravel)[ Docs](https://github.com/mementohub/exceptions-laravel)[ RSS](/packages/imemento-exceptions-laravel/feed)WikiDiscussions v8.1.x Synced 2d ago

READMEChangelogDependencies (3)Versions (29)Used By (1)

iMemento Exception Handler for Laravel
======================================

[](#imemento-exception-handler-for-laravel)

[![Build Status](https://github.com/mementohub/exceptions-laravel/workflows/Testing/badge.svg)](https://github.com/mementohub/exceptions-laravel/actions)[![Latest Stable Version](https://camo.githubusercontent.com/a6b53edf3f1217cba97e846aa69bf44345398f90ab953960551b1d17728ca9c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696d656d656e746f2f657863657074696f6e732d6c61726176656c)](https://packagist.org/packages/imemento/exceptions-laravel)[![License](https://camo.githubusercontent.com/4f22ff1e7cf3040ad1c4dd251b2bbe81b9ecda190f675a9a80d0543f0d3baf86/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696d656d656e746f2f657863657074696f6e732d6c61726176656c)](https://packagist.org/packages/imemento/exceptions-laravel)[![Total Downloads](https://camo.githubusercontent.com/9dbe6654d3e368bdb4a9fbe9ef7d5d391f82f7add5341b2016f5bd9ec43b0369/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d656d656e746f2f657863657074696f6e732d6c61726176656c)](https://packagist.org/packages/imemento/exceptions-laravel)

This is a custom exception handler that must be registered with Laravel.

Install
-------

[](#install)

```
composer require imemento/exceptions-laravel
```

Add the service to config/app.php:

```
iMemento\Exceptions\Laravel\ExceptionsServiceProvider::class,
```

The exception to formatter mapping is done in the config/exceptions.php file.

Publish it if you want to add your custom mapping:

```
php artisan vendor:publish --tag=config
```

Replace the exception handler in bootstrap/app.php

```
$app->singleton(
    Illuminate\Contracts\Debug\ExceptionHandler::class,
    iMemento\Exceptions\Laravel\ExceptionHandler::class
);
```

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance83

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 76.5% 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 ~107 days

Recently: every ~417 days

Total

28

Last Release

84d ago

Major Versions

5.8.0 → v6.0.x-dev2020-09-29

6.0.0 → 7.0.02020-09-29

v7.0.x-dev → 8.0.02020-09-29

8.1.1 → v12.0.0.x-dev2026-02-19

PHP version history (6 changes)5.6.0PHP ^7.1

v6.0.x-devPHP ^7.2

7.0.0PHP ^7.2.5

8.0.0PHP ^7.3

v8.1.0PHP ^8.0

v12.0.0.x-devPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef360de3f6d1e1a2eb47c55b310bf697192f25dff9bf9733607404e1bf0ddc63?d=identicon)[bcismariu](/maintainers/bcismariu)

---

Top Contributors

[![gxgstan](https://avatars.githubusercontent.com/u/3264036?v=4)](https://github.com/gxgstan "gxgstan (39 commits)")[![bcismariu](https://avatars.githubusercontent.com/u/10166477?v=4)](https://github.com/bcismariu "bcismariu (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/imemento-exceptions-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/imemento-exceptions-laravel/health.svg)](https://phpackages.com/packages/imemento-exceptions-laravel)
```

###  Alternatives

[binaryk/laravel-restify

Laravel REST API helpers

651399.1k](/packages/binaryk-laravel-restify)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[lomkit/laravel-rest-api

A package to build quick and robust rest api for the Laravel framework.

59152.2k](/packages/lomkit-laravel-rest-api)[wirechat/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

5434.7k](/packages/wirechat-wirechat)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[georgeboot/laravel-echo-api-gateway

Use Laravel Echo with API Gateway Websockets

10435.5k](/packages/georgeboot-laravel-echo-api-gateway)

PHPackages © 2026

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