PHPackages                             penobit/crash-reporter - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. penobit/crash-reporter

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

penobit/crash-reporter
======================

Penobit's Crash Reporter will notify crash reports via email and HTTP requests to your api.

v0.4.1(2y ago)140PHP

Since Jul 23Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (7)Used By (0)

Penobit's Laravel Crash Reporter
================================

[](#penobits-laravel-crash-reporter)

Laravel crash reporter library will notify you about any uncaught exceptions in your laravel application by Sending you an email or making a POST/GET HTTP request to an endpoint

### Installation

[](#installation)

You can install Laravel Crash Reporter package simply using the Composer Just execute following command:

```
php composer require penobit/crash-reporter
```

after compoer downloaded and installed the package you should publish it's config file, To do that run following cmd

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

This cmd will publish a new file `crash-reporter.php` to your `app/config` directory

---

### Configuration

[](#configuration)

Laravel crash reporter is completely configurable. it's configurable using `.env` file or directly from `crash-reporter.php` file. The `.env` file is our recommended way yo configure the crash reporter

ConfigurationEnvironment File `.env`

Config file `crash-reporter.php`

Default ValueIs Crash Reporter EnabledCRASH\_REPORTER\_ENABLED`enabled``false`Send Exceptions Over Email ChannelCRASH\_REPORTER\_EMAIL\_CHANNEL`channels.email``true`Crash Sender EMail AddressCRASH\_REPORTER\_FROM\_EMAIL`email.from.address``MAIL_FROM_ADDRESS` in `.env`Crash Sender Email's Sender NameCRASH\_REPORTER\_FROM\_NAME`email.from.address``MAIL_FROM_NAME` in `.env` if available `"Laravel Crash Reporter"` otherwiseSend crash reports toSupports multiple addresses seperated by `;`

CRASH\_REPORTER\_EMAIL\_ADDRESS`email.to``null`Send Exceptions Over HTTP ChannelCRASH\_REPORTER\_HTTP\_CHANNEL`channels.http``false`Http request methodCRASH\_REPORTER\_HTTP\_METHOD`http.method``"POST"`Send HTTP request toCRASH\_REPORTER\_HTTP\_ENDPOINT`http.endpoint``null`HTTP Request Token \*1CRASH\_REPORTER\_HTTP\_TOKEN`http.token``null`\*1 Please Note! The token will be sent in two different ways based on HTTP request method:

- GET: the token will be added to the url's query string like: `api.penobit.com/report/crash?token=MY_TOKEN_FROM_ENV_FILE`
- POST: the token will be sent as an authorization bearer header: `Authorization: Bearer MY_TOKEN_FROM_ENV_FILE`

---

### Customizations

[](#customizations)

You can customize the email template by creating a new template in your `views` directory. just create your custom email template template in this path: `/resources/views/vendor/penobit/crash-reporter/crash-reporter-mail.blade.php`and the crash reporter uses that instead of the default email template. You can also use these `$data` variable that is an object containing the exceptions details:

- `$data->message`: Exception message
- `$data->file`: File where exception was thrown
- `$data->line`: Line where exception was thrown
- `$data->trace`: Exception trace
- `$data->url`: URL where exception was thrown
- `$data->body`: Request body
- `$data->ip`: IP address of the user
- `$data->method`: Request method
- `$data->userAgent`: Users's User agent
- `$data->browser`: User's browser name
- `$data->browser_logo`: User's browser logo base64 encoded URI
- `$data->os`: User's OS name
- `$data->os_logo`: User's OS logo base64 encoded URI

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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 ~4 days

Total

6

Last Release

1004d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cbcaf2d9ebcdc5282f9dde8aeb9e6cff2d8bd8735b21669fb242e3a47dd7642?d=identicon)[penobit](/maintainers/penobit)

---

Top Contributors

[![penobit](https://avatars.githubusercontent.com/u/60283818?v=4)](https://github.com/penobit "penobit (24 commits)")

---

Tags

apiemailreportreportercrashcrash-reporter

### Embed Badge

![Health badge](/badges/penobit-crash-reporter/health.svg)

```
[![Health](https://phpackages.com/badges/penobit-crash-reporter/health.svg)](https://phpackages.com/packages/penobit-crash-reporter)
```

###  Alternatives

[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[princealikhan/laravel-mautic-api

Free and Open Source Marketing Automation API

415.9k](/packages/princealikhan-laravel-mautic-api)

PHPackages © 2026

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