tahsingokalp / lett
Error reporting tool for laravel
                                    Fund package maintenance!
                                                                            
                                                                                                                                        TahsinGokalp
                                                                                    
                                                                
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/tahsingokalp/lett
Requires
- php: ^8.0
 - guzzlehttp/guzzle: ^7.5
 - illuminate/contracts: ^9.0 || ^10.0
 - illuminate/support: ^9.0 || ^10.0
 - tahsingokalp/lett-constants: ^1.0
 
Requires (Dev)
- nunomaduro/collision: ^7.9
 - nunomaduro/larastan: ^2.0.1
 - orchestra/testbench: ^8.0
 - pestphp/pest: ^2.0
 - pestphp/pest-plugin-arch: ^2.0
 - pestphp/pest-plugin-laravel: ^2.0
 - phpstan/extension-installer: ^1.1
 - phpstan/phpstan-deprecation-rules: ^1.0
 - phpstan/phpstan-phpunit: ^1.0
 - roave/security-advisories: dev-latest
 
This package is auto-updated.
Last update: 2025-10-23 00:30:25 UTC
README
Lett
Laravel package for logging errors to Lett-Tracker
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
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
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
The Let package is open source software licensed under the license MIT
Special Thanks
This repo forked from https://github.com/LaraBug/LaraBug - https://github.com/Cannonb4ll
