This bundle allows you to use the slack api easily from your php code.
This bundle requires at least Symfony 3.0.
You can use composer to install slack-client-bundle:
composer require chaplean/slack-client-bundle
Then add to your AppKernel.php:
new Chaplean\Bundle\SlackClientBundle\ChapleanSlackClientBundle(),
First you will need to import the bundle configuration.
config.yml:
imports:
- { resource: '@ChapleanSlackClientBundle/Resources/config/config.yml' }
You must also create some parameters.
parameters.yml:
parameters:
chaplean_slack_client.access_token: 'your access token'
See the rest-client-bundle's usage documentation.
Note: Slack uses the POST method for all api endpoints.
slack-client-bundle follows semantic versioning. In short the scheme is MAJOR.MINOR.PATCH where
Versions bellow 1.0.0 are considered experimental and breaking changes may occur at any time.
Contributions are welcomed! There are many ways to contribute, and we appreciate all of them. Here are some of the major ones:
master branch.As a reminder, all contributors are expected to follow our Code of Conduct.
You might find the following commands usefull when hacking on this project:
# Install dependencies
composer install
# Run tests
bin/phpunit
slack-client-bundle is distributed under the terms of the MIT license.
See LICENSE for details.
How can I help you explore Laravel packages today?