PHPackages                             errorstream/errorstream-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. errorstream/errorstream-laravel

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

errorstream/errorstream-laravel
===============================

Laravel Package for ErrorStream.com integration

4.1(8y ago)819.6k↓100%Apache-2.0PHP

Since May 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/errorstreamhq/errorstream-laravel)[ Packagist](https://packagist.org/packages/errorstream/errorstream-laravel)[ Docs](http://errorstream.com)[ RSS](/packages/errorstream-errorstream-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

errorstream-laravel
===================

[](#errorstream-laravel)

Laravel integration with [Errorstream](https://www.errorstream.com/).

\#Installation Instructions

First, run the following command on the terminal to download and install the package

```
composer require errorstream/errorstream-laravel 3.*

```

Next, register the service provider in the config/app.php file.

```
'providers' => [
     // ...
     ErrorStream\ErrorStream\ErrorStreamServiceProvider::class,
]
```

Then add the Facade to the aliases array in the config/app.php file.

```
'aliases' => [
    // ...
    'ErrorStream' => ErrorStream\ErrorStream\Facades\ErrorStream::class,
]
```

Then hook into the App/Exceptions/Handler.php file to send errors to our service.

```
public function report(Exception $e)
{
    if ($this->shouldReport($exception) && config('services.errorstream.enabled')) {
        ErrorStream::reportException($exception);
    }
     parent::report($e);
}
```

Add the following two configuration entries into .env. You can find your API key and project token on the project settings page for the project you wish to integrate.

```
ERROR_STREAM_API_TOKEN=YOUR_API_TOKEN
ERROR_STREAM_PROJECT_TOKEN=YOUR_PROJECT_TOKEN
ERROR_STREAM_ENABLED=1
```

Finally, Add the errorstream config entries in your config/services.php

```
'errorstream' => [
    'api_token'     => env('ERROR_STREAM_API_TOKEN'),
    'project_token' => env('ERROR_STREAM_PROJECT_TOKEN'),
    'enabled'       => env('ERROR_STREAM_ENABLED'),
],
```

\#Tagging Anywhere within your application you can append tags on to the reports that you generate and send to errorstream.com. Tags are great for grouping code together. You can make a call to add a tag anywhere by calling addTag(). A great place to do this would be to extend your Handler class modifications. For example:

```
public function report(Exception $e)
{
     if ($this->shouldReport($e)) {
          ErrorStream::addTag('v1.0.2');
          ErrorStream::reportException($e);
     }
     parent::report($e);
}
```

\#Adding Context Sometimes you'll need additional information in order to diagnose issues. Context is great for adding more information to errors. Maybe you want to send a build number, user id, or anything else. You can use this in anywhere in your laravel application

```
ErrorStream::addContext('some more details about variables that are set');
```

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~117 days

Recently: every ~167 days

Total

7

Last Release

2930d ago

Major Versions

1.1 → 2.02016-06-29

2.0 → 3.02016-07-23

3.1 → 4.02018-04-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c06b2d5cdb404d0fb5c54688e72dc68be3e3d18820fe70cf43c421f18d60f27?d=identicon)[kevinh448](/maintainers/kevinh448)

---

Top Contributors

[![kevinhamilton](https://avatars.githubusercontent.com/u/1581075?v=4)](https://github.com/kevinhamilton "kevinhamilton (22 commits)")[![Tucker-Eric](https://avatars.githubusercontent.com/u/6483755?v=4)](https://github.com/Tucker-Eric "Tucker-Eric (3 commits)")[![krizzdev](https://avatars.githubusercontent.com/u/5312693?v=4)](https://github.com/krizzdev "krizzdev (1 commits)")

---

Tags

laravelloggingerrorserrorstream

### Embed Badge

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

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

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90234.6M36](/packages/bugsnag-bugsnag-laravel)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.2M](/packages/honeybadger-io-honeybadger-laravel)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)

PHPackages © 2026

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