Download the PHP package lynetechnologies/laravel-watchtower without Composer
On this page you can find all versions of the php package lynetechnologies/laravel-watchtower. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lynetechnologies/laravel-watchtower
More information about lynetechnologies/laravel-watchtower
Files in lynetechnologies/laravel-watchtower
Package laravel-watchtower
Short Description Laravel Error Notification
License MIT
Homepage https://github.com/lynetechnologies/laravel-watchtower
Informations about the package laravel-watchtower
Laravel Watchtower | Laravel Error Notification
Looking for a free laravel error reporting package? Well you've arrived at the right place! Laravel Watchtower is simple yet affective package that notifies you when an error is hit on your site.
Installation
You can install the package via composer:
Next, in your app/Exceptions/Handle.php add the below in the register method.
Once enabled one or more notification streams below, you can then use the watchtower:test command to test everything is running as expected.
Usage
To enable email notifications add the below to your .env file.
Slack
To enable Slack notifications follow the below.
In your Slack App you see the + symbol next to "Apps", click on the icon, and search "Incoming Webhook" in the search bar.
Then install the Incoming Webhook application. Now go to the setting tab inside the Incoming Webhook app which you just install. You'll be asked to provide the channel name, then you’ll get a Webhook URL. Use that in your env file.
To change which channel the errors go to, you can either use the below or update the webhook settings.
Local
You can store the error notifications locally for you to properly review at a later date.
Route names, endpoints and most importantly middleware can all be managed within the config file.
Prune the table
Use the below variable to define the age in days to prune. Defaults to 0, which will stop any pruning.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please report security vulnerabilities to [email protected].
License
The MIT License (MIT). Please see License File for more information.