maknz / slack

A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax.
BSD 2-Clause "Simplified" License
1.17k stars 204 forks source link

Send endpoint with a method #43

Closed simplenotezy closed 8 years ago

simplenotezy commented 8 years ago

I need some way to override default endpoint, with a method, like:

Slack::endpoint($some_url)->to('#channel');

For dynamic slack messages

maknz commented 8 years ago

I'd suggest creating multiple clients manually rather than using the facade. There's examples in the documentation about making a client.

simplenotezy commented 8 years ago

But I would like to still keep my config. DRY

maknz commented 8 years ago

This has been superseded by the planned multiple teams feature. Thanks for posting this, it was a good catalyst to that discussion (currently over at #44)