Package Data | |
---|---|
Maintainer Username: | boxfrommars |
Maintainer Contact: | boxfrommars@gmail.com (Dmitry Groza) |
Package Create Date: | 2015-12-21 |
Package Last Update: | 2016-01-19 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:03:09 |
Package Statistics | |
---|---|
Total Downloads: | 70 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 6 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Provides errors logging to the slack
xu@calypso:~$ composer require rutorika/laravel-slack-alerts
Add service provider to config/app.php
'providers' => [
// other providers...
Rutorika\LaravelSlackAlert\SlackAlertServiceProvider::class,
]
Publish config
xu@calypso:~$ php artisan vendor:publish --provider="Rutorika\LaravelSlackAlert\SlackAlertServiceProvider"
Add enviroment variables to your .env
file (see config/slack-alert.php
for defaults)
SLACK_CHANNEL=#dev-alert
SLACK_TOKEN=xxxx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxxx
SLACK_NAME="Site Name"
SLACK_MENTION_TO=@username