Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 5.1 Version? #13

Open
xitude opened this issue Nov 10, 2015 · 1 comment
Open

Laravel 5.1 Version? #13

xitude opened this issue Nov 10, 2015 · 1 comment

Comments

@xitude
Copy link

xitude commented Nov 10, 2015

Is there anyway you could build this into laravel facade?

@KalebClark
Copy link
Contributor

I use this in laravel quite a bit. I just setup my namespaces as such:

use Slack\Client as Client;
use Slack\Notifier as Notifier;
use Slack\Message\Message as Message;
use Slack\Message\MessageAttachment as Attachment;
use Slack\Message\MessageField as MessageField;

Or you can just reference as $client = \Slack\Client('name', 'key');

Of course, thats setup specifically for a Slack Notifier class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants