Download the PHP package devorto/slack-logger without Composer
On this page you can find all versions of the php package devorto/slack-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download devorto/slack-logger
More information about devorto/slack-logger
Files in devorto/slack-logger
Download devorto/slack-logger
More information about devorto/slack-logger
Files in devorto/slack-logger
Vendor devorto
Package slack-logger
Short Description Logs errors/notices etc to slack using Psr/LoggerInterface.
License MIT
Package slack-logger
Short Description Logs errors/notices etc to slack using Psr/LoggerInterface.
License MIT
Please rate this library. Is it a good library?
Informations about the package slack-logger
Slack Logger
Send errors/notices/warnings etc to slack, using this Class which implements the Prs/Log/LoggerInterface.
For more information about the logger interface or log levels see their github.
Setup webhook
Before you can use this you need to setup a webhook app in slack and connect this to the channel you want to use.
- Goto https://api.slack.com/apps.
- Click on the "New App" button on the top right.
- Fill in a "App Name" (this will be the sender name in slack)
- Fill in on which "Development Slack Workspace" you want to have it installed.
- Click on "Create App".
- In section "Add features and functionality" select "Incoming Webhooks".
- Set "Activate Incoming Webhooks" to "On" on the right.
- This will unfold new options and now click on "Add New Webhook to Workspace" on the bottom of the page.
- This will bring you to a new page, select on which channel you want the message to be posted.
- Click on "Install".
- This will bring you back to the webhook page, now on the bottom of the page copy the webhook url. This url is what you need in below example.
Example
Produces this in slack:
All versions of slack-logger with dependencies
PHP Build Version
Package Version
The package devorto/slack-logger contains the following files
Loading the files please wait ....