PHPackages                             myshell/larabug-local - 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. myshell/larabug-local

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

myshell/larabug-local
=====================

Laravel 5.8/6.x/7.x/8.x bug notifier

00PHP

Since Jun 24Pushed 4y agoCompare

[ Source](https://github.com/MyShellSoftwareLab/larabug-local)[ Packagist](https://packagist.org/packages/myshell/larabug-local)[ RSS](/packages/myshell-larabug-local/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](https://camo.githubusercontent.com/8e4cd2f95ffce5a4b4c40cc706da08644473f9ad70ddce95bdd531c50a898819/68747470733a2f2f7777772e6c6172616275672e636f6d2f696d616765732f6c6172616275672d6c6f676f2d736d616c6c2e706e67)](https://www.larabug.com)

LaraBug
=======

[](#larabug)

Laravel 5.8/6.x/7.x/8.x package for logging errors to [larabug.com](https://www.larabug.com)

[![Software License](https://camo.githubusercontent.com/a67f84da0101fd15f26280e1f30cc8e20abc7cf6230b045261aca90440b72fa1/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616275672f6c6172616275672f6c6963656e73652e737667)](LICENSE.md)[![Latest Version on Packagist](https://camo.githubusercontent.com/12b95e9095cbf974674ec0e12f4a1a6acc51058d1d2577afa45decd2de84445d/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616275672f6c6172616275672f762f737461626c652e737667)](https://packagist.org/packages/larabug/larabug)[![Build Status](https://github.com/larabug/larabug/workflows/tests/badge.svg)](https://github.com/larabug/larabug/actions)[![Total Downloads](https://camo.githubusercontent.com/e90d73b03ce52de88d610d874d0c49cc2cf8f7101c6b0ede9bdae870735e8f4f/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616275672f6c6172616275672f642f746f74616c2e737667)](https://packagist.org/packages/larabug/larabug)

Installation on laravel
-----------------------

[](#installation-on-laravel)

You can install the package through Composer.

```
composer require larabug/larabug
```

Then publish the config and migration file of the package using artisan.

```
php artisan vendor:publish --provider="LaraBug\ServiceProvider"
```

And adjust config file (`config/larabug.php`) with your desired settings.

Note: by default only production environments will report errors. To modify this edit your larabug configuration.

Installation on lumen
---------------------

[](#installation-on-lumen)

You can install the package through Composer.

```
composer require larabug/larabug
```

Copy the config file (`larabug.php`) to lumen config directory.

```
php -r "file_exists('config/') || mkdir('config/'); copy('vendor/larabug/larabug/config/larabug.php', 'config/larabug.php');"
```

And adjust config file (`config/larabug.php`) with your desired settings.

In `bootstrap/app.php` you will need to:

- Uncomment this line: ```
    $app->withFacades();
    ```
- Register the larabug config file: ```
    $app->configure('larabug');
    ```
- Register larabug service provider: ```
    $app->register(LaraBug\ServiceProvider::class);
    ```

Configuration variables
-----------------------

[](#configuration-variables)

All that is left to do is to define 2 env configuration variables.

```
LB_KEY=
LB_PROJECT_KEY=

```

`LB_KEY` is your profile key which authorises your account to the API.

`LB_PROJECT_KEY` is your project API key which you receive when creating a project.

Get these variables at [larabug.com](https://www.larabug.com)

Reporting unhandled exceptions
------------------------------

[](#reporting-unhandled-exceptions)

You can use LaraBug as a log-channel by adding the following config to the `channels` section in `config/logging.php`:

```
'channels' => [
    // ...
    'larabug' => [
        'driver' => 'larabug',
    ],
],
```

After that you have configured the LaraBug channel you can add it to the stack section:

```
'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'larabug'],
    ],
    //...
],
```

PS: If you are using lumen, maybe you doesn't have the `logging.php` file. So, you can use default logging file from framework core and make changes above.

```
php -r "file_exists('config/') || mkdir('config/'); copy('vendor/laravel/lumen-framework/config/logging.php', 'config/logging.php');"
```

License
-------

[](#license)

The larabug package is open source software licensed under the [license MIT](http://opensource.org/licenses/MIT)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity29

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3693483d8b80be41c5af8ed9bae297f4301ed5773ece7bfe1ab466019ab7d940?d=identicon)[MyShell](/maintainers/MyShell)

---

Top Contributors

[![GussRw](https://avatars.githubusercontent.com/u/9169125?v=4)](https://github.com/GussRw "GussRw (5 commits)")

### Embed Badge

![Health badge](/badges/myshell-larabug-local/health.svg)

```
[![Health](https://phpackages.com/badges/myshell-larabug-local/health.svg)](https://phpackages.com/packages/myshell-larabug-local)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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