thelhc/lhc-slack-bot

Laravel SlackBot Helper

Installs: 10 464

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 3

pkg:composer/thelhc/lhc-slack-bot

v1.3.2 2020-01-20 15:57 UTC

README

Latest Version on Packagist Software License Total Downloads

Install

Via Composer

$ composer require thelhc/lhc-slack-bot

After installing, add the ServiceProvider to the providers array in config/app.php.

TheLHC\SlackBot\SlackBotServiceProvider::class

And add the Facade to the aliases array

'SlackBot'  => TheLHC\SlackBot\Facades\SlackBot::class,

Configuration

First publish vendor configuration file using:

$ php artisan vendor:publish

Then modify your configuration in config/slack_bot.php

Usage

use SlackBot;

SlackBot::chat('hello world');

Testing

$ composer test

License

The MIT License (MIT). Please see License File for more information.