Skip to content

A simple package to send notifications to Slack channels

Notifications You must be signed in to change notification settings

Digital-Pulse-LV/slack-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slack Laravel

A simple package to send notifications to Slack channels.

Installation

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"

How to use it

By default, it supports 3 channels:

  1. Default channel: use the default webhook to send all common messages.
  2. Error channel: use a webhook to send all errors of your application.
  3. Dev channel: use a local webhook that overrides all messages when the application is running locally.
  4. Deploy channel: use a deploy webhook to send info about repo pull requests.

Test

You can easily test the service using our console command php artisan slack:test and then follow the instructions.

About

A simple package to send notifications to Slack channels

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages