black-bits / slacklog
Send log-messages to slack in one line of code
0.0.1
2017-09-20 04:10 UTC
Requires
- php: >=7.1.0
- guzzlehttp/guzzle: ^6.3
- illuminate/support: ^5.5
Requires (Dev)
- orchestra/testbench: ^3.5
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-10-29 05:16:23 UTC
README
Send log-messages to slack in one line of code
How to use
Publish config...
php artisan vendor:publish --provider="BlackBits\SlackLog\SlackLogServiceProvider"
... and set webhook in env
'webhook' => env('SLACKLOG_WEBHOOK', 'your-webhook')
Log something to your channel...
SlackLog::send($message = "my message", $id = "sender_id");