PHPackages                             rickselby/laravel-exception-html - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. rickselby/laravel-exception-html

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

rickselby/laravel-exception-html
================================

Generate HTML output for an exception

0.4.0(2y ago)01.5k[1 PRs](https://github.com/rickselby/laravel-exception-html/pulls)MITPHPPHP ^8.1CI passing

Since Oct 17Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/rickselby/laravel-exception-html)[ Packagist](https://packagist.org/packages/rickselby/laravel-exception-html)[ RSS](/packages/rickselby-laravel-exception-html/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

Laravel Exception HTML
======================

[](#laravel-exception-html)

[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/df6067c0574ff3c6f892082d189bb94bc515152acd7b2dbc6f2907d70499d765/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7269636b73656c62792f6c61726176656c2d657863657074696f6e2d68746d6c)](https://camo.githubusercontent.com/df6067c0574ff3c6f892082d189bb94bc515152acd7b2dbc6f2907d70499d765/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7269636b73656c62792f6c61726176656c2d657863657074696f6e2d68746d6c)

When Symfony updated to version 5, they changed their exception handling, and this removed a very neat way of generating HTML for an exception to populate an email:

```
$handler = new ExceptionHandler(true);
$html = $handler->getHtml($this->exception);
```

This is a copy of the Symfony 4 code to allow the above snippet to work again.

Additional HTML
---------------

[](#additional-html)

You may pass some additional HTML heading tags to display in the main title block. This can be any additional information useful to your exception (e.g. request URL, logged in user...)

```
{$this->request->method()} {$this->request->fullUrl()}
```

```
$handler = new ExceptionHandler(true);
$html = $handler->getHtml($this->exception, $extraHeadings);
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance48

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.3% 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 ~171 days

Total

4

Last Release

787d ago

PHP version history (3 changes)0.1.0PHP ^7.4|^8.0

0.3.0PHP ^8.0

0.4.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cc8910980f053d8ceb2e9d938427cf03ae509884763a10f916b4eef5591934f?d=identicon)[rickselby](/maintainers/rickselby)

---

Top Contributors

[![rickselby](https://avatars.githubusercontent.com/u/1564517?v=4)](https://github.com/rickselby "rickselby (21 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelhtmlexception

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rickselby-laravel-exception-html/health.svg)

```
[![Health](https://phpackages.com/badges/rickselby-laravel-exception-html/health.svg)](https://phpackages.com/packages/rickselby-laravel-exception-html)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[graham-campbell/exceptions

Provides A Powerful Error Response System For Both Development And Production

5911.3M4](/packages/graham-campbell-exceptions)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)[stephenjude/filament-debugger

About

102125.4k2](/packages/stephenjude-filament-debugger)[spatie/laravel-error-solutions

Display solutions on the Laravel error page

9773.5k](/packages/spatie-laravel-error-solutions)

PHPackages © 2026

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