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
erirk/paypalpayment
laravel-paypalpayment is simple package help you process direct credit card paym...
0
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
631,580,251
9,707