Skip to content

DeverStyle/kohana-slack-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Kohana Slack module

A Kohana module that can be used to post in a slack channel https://slack.com

Get the submodule from git

git submodule add git@github.com:DeverStyle/kohana-slack-module.git modules/slack

Add the submodule in bootstrap.php.

'slack'	=> MODPATH.'slack',

Copy the module config into your application config folder and fill in with data.

Example usage:

$slack = new Slack();
$slack->notify(array(
	'channel'		=> '#my-awesome-channel',	//optional, has default config
	'username'		=> 'My Awesome Bot',		//optional, has default config
	'text'			=> 'Hello world!',
	'icon_emoji'	=> ':mouse:',				//optional, has default config
));

About

Kohana Slack module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages