A PHP script that sends a message to a Slack channel
Install
composer install
Run
php -r "require './src/slack.php'; messageToChannel('TOKEN', 'CHANNEL', 'MESSAGE');"
Test
Replace token in test files
phpunit tests
A script that sends a message to a slack channel
A PHP script that sends a message to a Slack channel
composer install
php -r "require './src/slack.php'; messageToChannel('TOKEN', 'CHANNEL', 'MESSAGE');"
Replace token in test files
phpunit tests