Download the PHP package nexylan/slack-bundle without Composer
On this page you can find all versions of the php package nexylan/slack-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nexylan/slack-bundle
More information about nexylan/slack-bundle
Files in nexylan/slack-bundle
Package slack-bundle
Short Description Symfony bundle integration of nexylan/slack library
License MIT
Informations about the package slack-bundle
NexySlackBundle
Symfony bundle integration of the nexylan/slack library (old popular maknz/slack
).
Documentation
All the installation and usage instructions are located in this README. Check it for specific version:
Prerequisites
This version of the project requires:
- PHP 7.1+
- Symfony 3.4+
Installation
First of all, you need to require this library through composer:
Why php-http/guzzle6-adapter
? We are decoupled from any HTTP messaging client thanks to HTTPlug.
Then, enable the bundle on the AppKernel
class:
Configuration
If it is not already done, you have to configure httplug-bundle first. Check the official documentation for this.
Configure the bundle to your needs (example with default values):
Excepted endpoint
, all the other configuration keys are related to the Slack client default settings.
All those settings are described on the nexylan/slack documentation.
Usage
The Slack client instance can be retrieved from the nexy_slack.client
service.
Here is an example:
All the how to manipulate the Slack client is on the nexylan/slack documentation.
All versions of slack-bundle with dependencies
nexylan/slack Version ^3.0
php-http/discovery Version ^1.6
php-http/httplug-bundle Version ^1.17
php-http/httplug Version ^2.0
symfony/http-kernel Version ^3.4 || ^4.0 || ^5.0