Skip to content

repvik/phpslack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phpslack

PHP Class for using the Slack API from php-cli, for making a bot that can handle commands as well as external events.

Look at example.php for an example that does pretty much nothing except open a connection and keep it open.

This class requires two auth tokens for all functionality. To connect to the RTM API, an bot user auth token is required, and for most of the postapi functions an oauth2 token for an authenticated user is required (functions restricted by "user_is_bot" property need oauth2)

About

PHP Class for using the Slack API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages