black-bits/slacklog

Send log-messages to slack in one line of code

0.0.1 2017-09-20 04:10 UTC

This package is auto-updated.

Last update: 2024-10-29 05:16:23 UTC


README

Latest Version on Packagist Software License Build Status Total Downloads

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");