PHPackages                             soyhuce/laravel-rollbar - 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. soyhuce/laravel-rollbar

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

soyhuce/laravel-rollbar
=======================

Rollbar wrapper for Laravel

0.1.1(4y ago)0832MITPHPPHP ^8.0

Since Jan 5Pushed 4y ago3 watchersCompare

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

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

[![alt text](https://camo.githubusercontent.com/39bc99e51c3d4c3968c1a94c5e2d9313567a02bfec25fd4026fd59180ad40507/68747470733a2f2f736f79687563652e66722f77702d636f6e74656e742f75706c6f6164732f323032302f30362f6c6f676f2d736f79687563652d6461726b2d312e706e67 "Soyhuce")](https://camo.githubusercontent.com/39bc99e51c3d4c3968c1a94c5e2d9313567a02bfec25fd4026fd59180ad40507/68747470733a2f2f736f79687563652e66722f77702d636f6e74656e742f75706c6f6164732f323032302f30362f6c6f676f2d736f79687563652d6461726b2d312e706e67)

Rollbar wrapper for Laravel
===========================

[](#rollbar-wrapper-for-laravel)

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

[](#installation)

You can install the package via composer:

```
composer require soyhuce/laravel-rollbar
```

You can then add rollbar configuration in your `config/logging.php`

```
return [
    //...

    'channels' => [
        'rollbar' => [
            'driver' => 'monolog',
            'handler' => \Soyhuce\LaravelRollbar\LaravelRollbarHandler::class,
            'level' => env('LOG_LEVEL', 'error'),
            'access_token' => env('ROLLBAR_SERVER_KEY'),
        ],
    ],
];
```

You can add the configurations you need. See the [Rollbar documentation](https://docs.rollbar.com/docs/php-configuration-reference) for more information.

### Customizing current user resolution

[](#customizing-current-user-resolution)

You can customize the current user resolution with `\Soyhuce\LaravelRollbar\Facades\Rollbar::resolveAuthenticatedUserUsing()`. You may want to add this in a service provider (for example `AppServiceProvider`).

```
\Soyhuce\LaravelRollbar\Facades\Rollbar::resolveAuthenticatedUserUsing(function (): array {
    $user = auth()->user();

    if ($user === null) {
        return [];
    }

    return [
        'id' => (string) $user->id, // id must be a string
        'role' => $user->role->label,
    ];
});
```

A default user resolver is provided in this package.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

2

Last Release

1586d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/206cfbf866a463f7e7d1e86946d59b82f4191b9c89f9981fb03eeb264d77af79?d=identicon)[SoyHuCe](/maintainers/SoyHuCe)

---

Top Contributors

[![bastien-phi](https://avatars.githubusercontent.com/u/10199039?v=4)](https://github.com/bastien-phi "bastien-phi (15 commits)")

---

Tags

laravelrollbarsoyhuce

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[jenssegers/rollbar

Rollbar error monitoring integration for Laravel projects

3301.1M2](/packages/jenssegers-rollbar)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2332.0M2](/packages/inspector-apm-inspector-laravel)[jackwh/laravel-new-relic

Monitor your Laravel application performance with New Relic

112827.2k](/packages/jackwh-laravel-new-relic)

PHPackages © 2026

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