https://github.com/watanabeyu/push-error-to-slack
fuelphp package for error
https://github.com/watanabeyu/push-error-to-slack
fuelphp package slack webhook
Last synced: 9 months ago
JSON representation
fuelphp package for error
- Host: GitHub
- URL: https://github.com/watanabeyu/push-error-to-slack
- Owner: watanabeyu
- Created: 2015-10-26T08:22:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-20T10:42:05.000Z (over 10 years ago)
- Last Synced: 2025-06-09T17:43:16.472Z (11 months ago)
- Topics: fuelphp, package, slack, webhook
- Language: PHP
- Size: 5.86 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ABOUT Push Error To Slack
This fuelphp package is send error to slack by webhook.
Only need to install and setting slack webhook.
Automatically override \Fuel\Core\Error.
## INSTALL
1.Clone this repo into PKGPATH/push-error-to-slack
2.Copy APPPATH/config/pets.php from PKGPATH/push-error-to-slack/config/pets.php
3.Access incoming-webhook https://my.slack.com/services/new/incoming-webhook/ ,get webhook url
4.Set webhook url config
## APPPATH/config/config.php
```
'always_load' => array(
'packages' =>array(
'push-error-to-slack',
),
),
```
## APPPATH/config/pets.php
```
return array(
'webhook_url' => 'This is webhook url',
'channel' => 'set channel name stating with # or @',
'icon_url' => 'your service icon url', //your service icon url
'mode' => 'attachments' //payload or attachments
);
```