A simple package to send notifications to Slack channels.
Simply run the following command to install:
composer require digital-pulse-lv/slack-laravel
Then publish the config file and adjust it as you need it:
php artisan vendor:publish --provider="DigitalPulse\SlackLaravel\app\Providers\SlackLaravelServiceProvider"
By default, it supports 3 channels:
Default
channel: use the default webhook to send all common messages.Error
channel: use a webhook to send all errors of your application.Dev
channel: use a local webhook that overrides all messages when the application is running locally.Deploy
channel: use a deploy webhook to send info about repo pull requests.
You can easily test the service using our console command php artisan slack:test
and then follow the instructions.