https://github.com/morning-train/slack-api
https://github.com/morning-train/slack-api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/morning-train/slack-api
- Owner: Morning-Train
- License: gpl-3.0
- Created: 2015-11-20T07:36:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T10:09:33.000Z (over 4 years ago)
- Last Synced: 2025-05-14T23:51:22.398Z (about 1 year ago)
- Language: PHP
- Size: 200 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Slack Api
[](LICENSE.md)

A complete native php wrapper for the [Slack API](https://api.slack.com/)
## Install
Via Composer
``` bash
$ composer require morningtrain/slack-api
```
## Usage
``` php
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](http://morningtrain.dk/)
## License
GNU General Public License v3.0. Please see [License File](LICENSE.md) for more information.