PHP code example of black-bits / slacklog
1. Go to this page and download the library: Download black-bits/slacklog library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
black-bits / slacklog example snippets
'webhook' => env('SLACKLOG_WEBHOOK', 'your-webhook')
SlackLog::send($message = "my message", $id = "sender_id");
bash
php artisan vendor:publish --provider="BlackBits\SlackLog\SlackLogServiceProvider"