Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 977 Bytes

installation.md

File metadata and controls

43 lines (32 loc) · 977 Bytes

Installation

1. Install the Bundle

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"
}

2. Register the Bundle to Symfony

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(),
    ];
}

3. Add the Configuration for the Bundle

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: ~