PHPackages                             tahsingokalp/lett - 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. tahsingokalp/lett

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

tahsingokalp/lett
=================

Error reporting tool for laravel

2.0.2(3y ago)011MITPHPPHP ^8.0CI passing

Since Mar 1Pushed 3y agoCompare

[ Source](https://github.com/TahsinGokalp/lett)[ Packagist](https://packagist.org/packages/tahsingokalp/lett)[ Docs](https://github.com/tahsingokalp/lett)[ GitHub Sponsors](https://github.com/TahsinGokalp)[ RSS](/packages/tahsingokalp-lett/feed)WikiDiscussions development Synced 1mo ago

READMEChangelog (8)Dependencies (14)Versions (10)Used By (0)

 [![](logo.png)](logo.png)

Lett
====

[](#lett)

Laravel package for logging errors to [Lett-Tracker](https://github.com/TahsinGokalp/lett-tracker)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fad2805d54ccea70a134f02b6174021534d045e65cac15bcb0fa3f94c6ca7220/68747470733a2f2f706f7365722e707567782e6f72672f74616873696e676f6b616c702f6c6574742f762f737461626c652e737667)](https://packagist.org/packages/tahsingokalp/lett)[![Build Status](https://github.com/tahsingokalp/lett/workflows/run-tests/badge.svg)](https://github.com/tahsingokalp/lett/actions)[![Quality Gate Status](https://camo.githubusercontent.com/81bc5830ad9c9a2c52c4a873404b030ab7145e508edcaec4faf3d1709e912fed/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d54616873696e476f6b616c705f6c657474266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/summary/new_code?id=TahsinGokalp_lett)[![Bugs](https://camo.githubusercontent.com/6efda8026140caeff08a7f48c63396a3678c75ca2aa5b1ca5c363a4c06aa51f7/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d54616873696e476f6b616c705f6c657474266d65747269633d62756773)](https://sonarcloud.io/summary/new_code?id=TahsinGokalp_lett)[![Code Smells](https://camo.githubusercontent.com/547925052d4f36c40dfc6ffb7e6a87837f1ca5834f82207d42b8d67692ffaa5f/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d54616873696e476f6b616c705f6c657474266d65747269633d636f64655f736d656c6c73)](https://sonarcloud.io/summary/new_code?id=TahsinGokalp_lett)[![Maintainability Rating](https://camo.githubusercontent.com/ac9a8dd0e3ca92ebf89d631b13fcbd89dbaac96a1a7d18dceb1c31d0e47d1119/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d54616873696e476f6b616c705f6c657474266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/summary/new_code?id=TahsinGokalp_lett)[![Reliability Rating](https://camo.githubusercontent.com/66e58e2a62373ae0f04e6581fe8bbf29c636742941778b16f356cf70ca2884d8/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d54616873696e476f6b616c705f6c657474266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/summary/new_code?id=TahsinGokalp_lett)[![Security Rating](https://camo.githubusercontent.com/e21f1216a6a9fa66b277c829a5a98871a4a93f7277326a57caff8cde845ad4c9/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d54616873696e476f6b616c705f6c657474266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/summary/new_code?id=TahsinGokalp_lett)

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

[](#installation-on-laravel)

You can install the package through Composer.

```
composer require tahsingokalp/lett
```

Then publish the config and migration file of the package using the vendor publish command.

```
php artisan vendor:publish --provider="TahsinGokalp\Lett\LettServiceProvider"
```

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

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

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

[](#configuration-variables)

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

```
LETT_KEY=
LETT_PROJECT_KEY=

```

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

`LETT_PROJECT_KEY` is your project API key which you've received when creating a project.

Install lett-tracker to your host and get the variables.

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

[](#reporting-unhandled-exceptions)

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

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

After that you can add it to the stack section:

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

Now all unhandled exceptions will be reported to Lett.

License
-------

[](#license)

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

Special Thanks
--------------

[](#special-thanks)

This repo forked from  -

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

8

Last Release

1146d ago

Major Versions

1.0.4 → 2.0.02023-03-17

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8.0

1.0.2PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e01e66846694aaed77b15e804804a25a7b0b497e60d3745e36944f3ea2e9495a?d=identicon)[TahsinGokalp](/maintainers/TahsinGokalp)

---

Top Contributors

[![Cannonb4ll](https://avatars.githubusercontent.com/u/3110750?v=4)](https://github.com/Cannonb4ll "Cannonb4ll (125 commits)")[![TahsinGokalp](https://avatars.githubusercontent.com/u/3122047?v=4)](https://github.com/TahsinGokalp "TahsinGokalp (78 commits)")[![nickurt](https://avatars.githubusercontent.com/u/5840084?v=4)](https://github.com/nickurt "nickurt (23 commits)")[![xHeinrich](https://avatars.githubusercontent.com/u/7674587?v=4)](https://github.com/xHeinrich "xHeinrich (13 commits)")[![SebastiaanKloos](https://avatars.githubusercontent.com/u/6506510?v=4)](https://github.com/SebastiaanKloos "SebastiaanKloos (11 commits)")[![jrmajor](https://avatars.githubusercontent.com/u/26096713?v=4)](https://github.com/jrmajor "jrmajor (10 commits)")[![cbl](https://avatars.githubusercontent.com/u/29352871?v=4)](https://github.com/cbl "cbl (7 commits)")[![Glennmen](https://avatars.githubusercontent.com/u/11406433?v=4)](https://github.com/Glennmen "Glennmen (5 commits)")[![mateussantana](https://avatars.githubusercontent.com/u/3890594?v=4)](https://github.com/mateussantana "mateussantana (4 commits)")[![mikemand](https://avatars.githubusercontent.com/u/745184?v=4)](https://github.com/mikemand "mikemand (2 commits)")[![pauloimon](https://avatars.githubusercontent.com/u/3463932?v=4)](https://github.com/pauloimon "pauloimon (2 commits)")[![Larsklopstra](https://avatars.githubusercontent.com/u/25669876?v=4)](https://github.com/Larsklopstra "Larsklopstra (2 commits)")[![paulhennell](https://avatars.githubusercontent.com/u/4799852?v=4)](https://github.com/paulhennell "paulhennell (1 commits)")[![Melcus](https://avatars.githubusercontent.com/u/6652134?v=4)](https://github.com/Melcus "Melcus (1 commits)")[![grantholle](https://avatars.githubusercontent.com/u/1189456?v=4)](https://github.com/grantholle "grantholle (1 commits)")[![HajMo](https://avatars.githubusercontent.com/u/50548630?v=4)](https://github.com/HajMo "HajMo (1 commits)")[![sinnbeck](https://avatars.githubusercontent.com/u/13980140?v=4)](https://github.com/sinnbeck "sinnbeck (1 commits)")[![Taronyuu](https://avatars.githubusercontent.com/u/7033142?v=4)](https://github.com/Taronyuu "Taronyuu (1 commits)")

---

Tags

loglaravelerrorTahsinGokalplett

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/tahsingokalp-lett/health.svg)

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

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

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[yaro/log-envelope

Laravel 5 email on error

4147.0k](/packages/yaro-log-envelope)

PHPackages © 2026

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