alexlg89/laravel-exception-slacker

Sends Laravel Exceptions to your Slack

1 2018-04-12 13:49 UTC

This package is not auto-updated.

Last update: 2024-06-11 03:17:31 UTC


README

The Laravel Exception Slacker is a Laravel Package, that informs you via Slack if an Exception is thrown.

Installing

Add the dependency to your project:

composer require alexlg89/laravel-exception-slacker

Since Laravel 5.5 the service provider will autmatically get registered. In older versions you have to add the Service Provider to the config/app.php

'providers' => [
    // ...
    Alexlg89\LaravelExceptionSlacker\LaravelExceptionSlackerServiceProvider::class,
];

Publish the config file with:

php artisan vendor:publish --provider="Alexlg89\LaravelExceptionSlacker\LaravelExceptionSlackerServiceProvider"

The value slack_webhook_url is the URL to your Slack Webhook.

That's it!

License

The MIT License (MIT). Please see License File for more information.