2017 © Pedro Peláez
 

symfony-bundle slack-bundle

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

image

cleentfaar/slack-bundle

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  • Tuesday, May 31, 2016
  • by cleentfaar
  • Repository
  • 8 Watchers
  • 45 Stars
  • 235,550 Installations
  • PHP
  • 0 Dependents
  • 5 Suggesters
  • 32 Forks
  • 8 Open issues
  • 37 Versions
  • 7 % Grown

The README.md

SlackBundle Software License

Symfony bundle that integrates the Slack API client by providing easy-to-use services and configuration., (*1)

If you would like to access the Slack Web API from the command-line, consider installing the slack-cli package., (*2)

Build Status Coverage Status Quality Score Latest Version Total Downloads, (*3)

Quick example

Here is an example of how you can access the API's chat.postMessage method to send a message to one of your Slack channels:, (*4)

<?php
// Acme\DemoBundle\Controller\MySlackController

public function sendAction()
{
    $payload = new ChatPostMessagePayload();
    $payload->setChannel('#general');   // Channel names must begin with a hash-sign '#'
    $payload->setText('Hello world!');  // also supports Slack formatting
    $payload->setUsername('acme');      // can be anything you want
    $payload->setIconEmoji('birthday'); // check out emoji.list-payload for a list of available emojis

    $response = $this->get('cl_slack.api_client')->send($payload);

    // display the Slack channel ID on which the message was posted
    echo $response->getChannel(); // would return something like 'C01234567'

    // display the Slack timestamp on which the message was posted (note: NON-unix timestamp!)
    echo $response->getTimestamp(); // would return something like '1407190762.000000'
}

In Slack, that should give you something like this in the #general channel: Example of a message posted to Slack, (*5)

These and more examples can be found in the usage documentation., (*6)

Documentation

Detailed documentation on how to access each API method can be found in the documentation of the package that this bundle integrates: Slack API library, (*7)

Thanks

  • @fieg, for initial ideas about integrating Slack with our projects.
  • The guys at Slack, for making an awesome product and clean documentation.

Contributing

If you would like to contribute to this package, check out the contribution doc here., (*8)

The Versions

31/05 2016

dev-master

9999999-dev

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

31/05 2016

0.20.1

0.20.1.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

30/05 2016

dev-catching-up

dev-catching-up

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

30/05 2016

0.18.1

0.18.1.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

26/02 2015

0.15.4

0.15.4.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

21/02 2015

0.15.3

0.15.3.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

21/02 2015

0.15.2

0.15.2.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

19/02 2015

0.15.1

0.15.1.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

19/02 2015

dev-refactored-due-to-factory-removal

dev-refactored-due-to-factory-removal

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

15/02 2015

0.14.2

0.14.2.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

15/02 2015

0.14.1

0.14.1.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

08/02 2015

0.13.1

0.13.1.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

08/02 2015

0.13.2

0.13.2.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

14/12 2014

0.12.1

0.12.1.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

14/12 2014

dev-preparing-for-0.12

dev-preparing-for-0.12

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

09/12 2014

0.11.1

0.11.1.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

06/12 2014

0.10.3

0.10.3.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

06/12 2014

0.10.4

0.10.4.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

02/12 2014

0.10.2

0.10.2.0

This bundle provides integration with the Slack API library, allowing you to interact with the Slack API from within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

30/11 2014

0.10.1

0.10.1.0

This bundle provides integration with the Slack library, allowing you to interact with the Slack API within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

10/10 2014

0.10.0

0.10.0.0

This bundle provides integration with the Slack library, allowing you to interact with the Slack API within your Symfony projects

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

05/08 2014

0.9.6.1

0.9.6.1

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

25/07 2014

0.9.5

0.9.5.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

25/07 2014

0.9.4

0.9.4.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

api bundle symfony slack

17/07 2014

0.9.3

0.9.3.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api

17/07 2014

0.9.2

0.9.2.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api

17/07 2014

0.9.1

0.9.1.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api

02/07 2014

0.8.2

0.8.2.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api slack bundle

02/07 2014

0.8.1

0.8.1.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api slack bundle

02/07 2014

0.8

0.8.0.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api slack bundle

02/07 2014

0.7

0.7.0.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api slack bundle

02/07 2014

0.6

0.6.0.0

This bundle provides integration with the CLSlack library

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony slack slack api slack bundle

08/06 2014

0.5

0.5.0.0

This bundle provides integration with the Slack API and webhooks

  Sources   Download

MIT

The Requires

 

The Development Requires

slack

18/05 2014

0.4

0.4.0.0

This bundle provides integration with the Slack API and webhooks

  Sources   Download

MIT

The Requires

 

The Development Requires

slack

18/05 2014

0.3

0.3.0.0

This bundle provides integration with the Slack API and webhooks

  Sources   Download

MIT

The Requires

 

slack

17/05 2014

0.2

0.2.0.0

This bundle provides integration with the Slack API and webhooks

  Sources   Download

MIT

The Requires

 

slack

17/05 2014

0.1

0.1.0.0

This bundle provides integration with the Slack API and webhooks

  Sources   Download

MIT

The Requires

 

slack