2017 © Pedro Peláez
 

symfony-bundle highfiveslackbundle

This bundle counts how many high fives have been published on slack

image

xteam/highfiveslackbundle

This bundle counts how many high fives have been published on slack

  • Thursday, July 23, 2015
  • by piotrpasich
  • Repository
  • 0 Watchers
  • 0 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

HighFiveSlackBundle

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)

Installation

Step 1: Composer require

``` 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(); }; // ... }

Step 3: Add options to parameters.yml

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

Step 4: Add routes

#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:   /

Notes

This bundle requires a Symfony in version higher or equal 2.7, (*3)

The Versions

23/07 2015

dev-master

9999999-dev

This bundle counts how many high fives have been published on slack

  Sources   Download

MIT

The Requires

 

by Piotr Pasich