PHPackages                             castlepointanime/slack-api-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. castlepointanime/slack-api-bundle

ActiveLibrary[API Development](/categories/api)

castlepointanime/slack-api-bundle
=================================

Symfony bundle for interacting with the Slack API

0.4(11y ago)1323[3 issues](https://github.com/castlepointanime/slack-api-bundle/issues)AGPL-3.0XMLPHP &gt;=5.3.3

Since Jan 27Pushed 11y ago5 watchersCompare

[ Source](https://github.com/castlepointanime/slack-api-bundle)[ Packagist](https://packagist.org/packages/castlepointanime/slack-api-bundle)[ Docs](https://github.com/castlepointanime/slack-api-bundle)[ RSS](/packages/castlepointanime-slack-api-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

Slack API Bundle
================

[](#slack-api-bundle)

[![https://travis-ci.org/castlepointanime/slack-api-bundle.svg?branch=master](https://camo.githubusercontent.com/32dd7f5cd382148ceaafa315fc2e0be3d7d9fdf858d93e8f1aa9eeab15132eab/68747470733a2f2f7472617669732d63692e6f72672f636173746c65706f696e74616e696d652f736c61636b2d6170692d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/castlepointanime/slack-api-bundle)This project is a [Symfony bundle](http://symfony.com/) for interacting with the [Slack.com API](https://api.slack.com/). The purpose is to provide an easy framework for writing bots and other tools that interact with your Slack team.

Some features this bundle provides:

- A default route (and associated controller) that catches all Slack webhooks
- Dispatcher service that allows services to register and listen for certain webhook events
- [Guzzle Services](https://github.com/guzzle/guzzle-services)-based client for the main API
- Handling for outgoing webhooks, incoming webhooks, slash commands, remote Slackbot, and the main API (RTM websockets coming soon)

Right now the project is still in development, but is almost ready for release. However, I'd still recommend taking caution when using this for your team until the 1.0 is released.

Installation
------------

[](#installation)

### Step 0: Install Symfony

[](#step-0-install-symfony)

This program technically can be used without Symfony, since it only depends on certain components, but obviously if you are making a new project it will be a lot easier to just use this bundle with the [Symfony standard edition](http://symfony.com/download).

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require castlepointanime/slack-api-bundle
```

This command requires you to have Composer installed globally, as explained in the \[installation chapter\]() of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding the following line in the app/AppKernel.php file of your project:

```
