Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Releases: mcrumm/phlack

Attachment Properties

13 Oct 16:59

Choose a tag to compare

@errodr added support for additional Attachment properties: author_name, author_link, author_icon, title, title_link, image_url, thumb_url, mrkdwn_in

Simple Messages FTW!

14 Aug 22:57

Choose a tag to compare

Create Phlack like this:

$phlack = new Crummy\Phlack\Phlack('https://my.webhook.url');

Send a message like this:

$phlack->send('Heyo!');

Send custom messages like so:

$phlack->send([
    'icon_emoji' => ':taco:',
    'text' => "I'm a taco!"
]);

API Chat Methods

14 May 22:05

Choose a tag to compare

The following API methods have been added:

Thanks to @kordero for the update!

New API methods

11 Sep 18:47

Choose a tag to compare

API methods have been added for the following:

Thanks goes to @tijsverkoyen for the service description update.

Hot-fix: Doctrine Collections

05 Mar 18:08

Choose a tag to compare

  • Updated composer dependencies for doctrine/collections

Slack API Integration

04 Mar 23:39

Choose a tag to compare

  • Phlack now contains a (partial) implementation of the Slack API
  • Fixed some typos in the examples.

MessageBuilder Attachments

04 Mar 23:39

Choose a tag to compare

v0.4.5

04 Mar 23:41

Choose a tag to compare

Deprecated the get*() methods on Hash; replaced with protected properties.
Deprecated the get*() methods on CommandInterface; replaced with get($key).
Added a reply($user, $text) to the ResponderInterface.
Added reply($user, $text) to the Iterocitor in the form of @-reply messages.
Fixed potential infinite loop problems in RepeaterBot by using the reply() method.