Skip to content

kaz29/cake_slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CakeSlack

Setting

Config/bootstrap.php

Configure::write('Slack', [
    'token' => 'Your access token', // 'XXXXXXXXX/YYYYYYYYY/zzzzzzzzzzzzzzzzzzzzzzzz'
    'channel' => '#generic',		// default
    'username' => 'cakephp',		// default
    'icon_emoji' => ':ghost:',	// default
]);

How to use

<?php
App::uses('Slack', 'CakeSlack.Lib');

....

Slack::send('Hello from CakePHP!');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages