morningtrain/slack-api

A complete native php wrapper for the Slack API

v1.1.0 2021-11-29 10:04 UTC

This package is auto-updated.

Last update: 2022-05-29 01:03:14 UTC


README

Software License

A complete native php wrapper for the Slack API

Install

Via Composer

$ composer require morningtrain/slack-api

Usage

require 'vendor/autoload.php';
use MorningTrain\SlackApi\SlackApi;

define('SLACK_API_KEY', 'YOUR-SLACK-API-KEY');

$slack_client = new SlackApi(SLACK_API_KEY);
$result = $slack_client->getAllUsers();

Security

If you discover any security related issues, please email mail@morningtrain.dk instead of using the issue tracker.

Credits

This was coded on an early morningtrain.dk

License

GNU General Public License v3.0. Please see License File for more information.