petehouston / slack-simple-webhooks
Simple Slack Webhook API.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/petehouston/slack-simple-webhooks
Requires
- ext-json: *
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: 6.0.*
This package is auto-updated.
Last update: 2025-09-29 02:02:43 UTC
README
Install
$ composer require petehouston/slack-simple-webhooks
Usage
use Petehouston\Slack\SlackClient; $config = [ 'webhookUrl' => '', 'channel' => '', 'username' => '', 'icon_emoji' => '' ]; $slack = new SlackClient($config); $result = $slack->send('This is a test message'); // return true or false on result
License
MIT @ 2018 by Pete Houston.