dev-master
9999999-devThis bundle counts how many high fives have been published on slack
MIT
The Requires
by Piotr Pasich
Wallogit.com
2017 © Pedro Peláez
This bundle counts how many high fives have been published on slack
This is a plugin for the XTeam SlackMessage Bundle which count a number of high fives on slack. Once a week we publish a chart with statistics on slack., (*1)
``` bash $ php composer.phar require xteam/highfiveslackbundle "dev-master", (*2)
### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new XTeam\HighFiveSlackBundle\XTeamHighFiveSlackBundle(), ); if (...) { // ... $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(); }; // ... }
#app/config/parameters.yml parameters: # ... slack.token: Your SLack token xteam.highfive.message: "High five heroes! |chart|" xteam.highfive.base_url: "http://localhost" xteam.highfive.publish_channel: "#general"
#app/congig/routes.yml
x_team_slack_messenger:
resource: "@XTeamSlackMessengerBundle/Resources/config/routing.yml"
prefix: /
x_team_high_five_slack_bundle:
resource: "@XTeamHighFiveSlackBundle/Resources/config/routing.yml"
prefix: /
This bundle requires a Symfony in version higher or equal 2.7, (*3)
This bundle counts how many high fives have been published on slack
MIT