maras0830/laravel-logslack
Laravel Log to Slack Channel
via incoming callback - https://api.slack.com/incoming-webhooks

Installation
$ composer require maras0830/laravel-LogSlack
in config/app.php
'providers' => [
...
Maras0830\LogSlack\Providers\LogSlackBotServiceProvider::class,
];
.env
SLACK_LOG_LEVEL=success,warning,error
SLACK_LOG_CALLBACK_URL=<slack_incoming_callback_url>
if your laravel version >= 5.8, install laravel/slack-notification-channel
$ composer require laravel/slack-notification-channel
Example
in route/web.php
Route::get('slack', function() {
Log::debug('Slack Log ', ['Slack' => 'Hello']);
});
call http://localhost/slack
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
660,512,042
9,702
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
450,320,528
608
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
424,642,029
4,662
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.11 | >=5.4.0 | ~5.0| | ||
| v1.0.10 | >=5.4.0 | ~5.0| | ||
| v1.0.9 | >=5.4.0 | ~5.0| | ||
| v1.0.8 | >=5.4.0 | ~5.0| | ||
| v1.0.7 | >=5.4.0 | ^5.1.0 | ||
| v1.0.6 | >=5.4.0 | ^5.1.0 | ||
| v1.0.5 | >=5.4.0 | ^5.1.0 | ||
| v1.0.4 | >=5.4.0 | ^5.1.0 | ||
| v1.0.3 | >=5.4.0 | ^5.1.0 | ||
| v1.0.1 | >=5.4.0 | ^5.1.0 | ||
| v1.0.0 | >=5.4.0 | ^5.1.0 | ||
| v0.1.3 | >=5.4.0 | ^5.1.0 | ||
| v0.1.2 | >=5.4.0 | ^5.1.0 | ||
| v0.1.1 | >=5.4.0 | ^5.1.0 | ||
| v0.1.0 | >=5.4.0 | ^5.1.0 |