https://github.com/arillo/logslackwriter
Publish SilverStripe errors and warnings into a Slack channel via webhook.
https://github.com/arillo/logslackwriter
Last synced: about 1 year ago
JSON representation
Publish SilverStripe errors and warnings into a Slack channel via webhook.
- Host: GitHub
- URL: https://github.com/arillo/logslackwriter
- Owner: arillo
- Created: 2017-11-20T09:49:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T14:33:57.000Z (over 8 years ago)
- Last Synced: 2025-03-31T10:04:44.959Z (over 1 year ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SilverStripe LogSlackWriter
Publish SilverStripe errors and warnings into a Slack channel via an incoming webhook.
## Usage
Use Slack's 'Incoming WebHooks' app to add a webhook to post into the channel of your choice. Copy the URL that Slack generates and add it to your env variables:
```php
define('SS_SLACK_LOG_WEBHOOK', '{your-webhook-url}');
define('SS_SLACK_LOG_CHANNEL', '{your-webhook-channel}');
```