dieseljobs / slack-bot by thelhc

Laravel SlackBot Helper
10,463
0
4
Package Data
Maintainer Username: thelhc
Maintainer Contact: aaronmichaelmusic@gmail.com (Aaron Kaczmarek)
Package Create Date: 2016-12-13
Package Last Update: 2023-04-19
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:12:47
Package Statistics
Total Downloads: 10,463
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 0
Total Watchers: 4
Total Forks: 0
Total Open Issues: 3

Slack Bot

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.