PHPackages                             fullybaked/pslackr - 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. fullybaked/pslackr

ActiveLibrary[API Development](/categories/api)

fullybaked/pslackr
==================

Inbound Webook intergration for Slack.com

0.1.4(12y ago)61.3k3[2 issues](https://github.com/fullybaked/pslackr/issues)MITPHPPHP &gt;=5.4

Since Mar 8Pushed 10y agoCompare

[ Source](https://github.com/fullybaked/pslackr)[ Packagist](https://packagist.org/packages/fullybaked/pslackr)[ Docs](https://github.com/fullybaked/pslackr)[ RSS](/packages/fullybaked-pslackr/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

[![Build Status](https://camo.githubusercontent.com/18955a633eb5b1a19c4622eec28c4441c62c77738195f88b9474635ccf7d98c4/68747470733a2f2f7472617669732d63692e6f72672f66756c6c7962616b65642f70736c61636b722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fullybaked/pslackr) [![Code Climate](https://camo.githubusercontent.com/f56fb2eca88f2061166db581b2fe1d65ac24d583f31afee4de0736ca752091ee/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f66756c6c7962616b65642f70736c61636b722f6261646765732f6770612e737667)](https://codeclimate.com/github/fullybaked/pslackr)

pslackr \[slak-er\]
===================

[](#pslackr-slak-er)

pSlackr is a library for integrating Slack.com's inbound web hook into your application enabling you to send messages to your group chat channels from your application

Installing
----------

[](#installing)

Via [Composer](https://getcomposer.org/)

```
composer require fullybaked/pslackr

```

\### Slack API Token

Pslackr uses the old style of sending the token with the request to Slack, so to find the correct token go to your inbound web hook on Slack and you should see

```
https://hooks.slack.com/services/A111AA1AA/B00BB0BBB/aBCDe1FGHijKlmNoP

```

Where ever Pslackr requires an API token you need to use the last string in the URL `aBCDe1FGHijKlmNoP` in the example above.

\## Usage

### Example of basic usage with suplied classes

[](#example-of-basic-usage-with-suplied-classes)

```
