You can add the Bundle by running Composer on your shell or adding it directly to your composer.json
php composer.phar require dzunke/slack-bundle:dev-master
"require" : {
"dzunke/slack-bundle": "dev-master"
}
The Namespace will be registered by autoloading with Composer but to use the integrated features for symfony you have to register the Bundle.
# app/AppKernel.php
public function registerBundles()
{
$bundles = [
// [..]
new DZunke\SlackBundle\DZunkeSlackBundle(),
];
}
To use the Bundle without an Error you have to add the Connection-Data and finally one Identity to use with the Methods like MonologHandler or Messaging.
# app/config/config.yml
d_zunke_slack:
token: "YOUR AUTH-TOKEN"
identities:
CoffeeBrewer: ~