Skip to content

watanabeyu/push-error-to-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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
);

About

fuelphp package for error

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages