| Package Data | |
|---|---|
| Maintainer Username: | cjsdevelopment |
| Maintainer Contact: | chilionsnoek@gmail.com (Chilion Snoek) |
| Package Create Date: | 2015-12-14 |
| Package Last Update: | 2016-10-11 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-15 03:04:26 |
| Package Statistics | |
|---|---|
| Total Downloads: | 792 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 2 |
| Total Open Issues: | 0 |
A Laravel package for sending Messages to Slack
Require it:
Add the following data:
Execute the following commands in your console:
After executing the vendor:publish command you will find a config file in the Laravel config folder. Fill the Mandatory fields, check the optional. Don't forget!! Create a webhook URL http://your-domain.slack.com/services/
Slack::sendMessage("Message!", "#channel");
| Parameter Position | Description | Option(s) | Default | |-------------------- |----------------------------- |------------------------------------------------- |-------------------------- | | 1 | Message to send | none | none | | 2 | Channel or Username to send | @username of #channel | #general | | 3 | Username of the Bot | Any name you want to give the BOT | CJSDevelopment Slack Bot | | 4 | Icon | The icon you want to use for your BOT as avatar | :ghost: |