Registry / messaging / alek13-slack

alek13-slack

JSON →
library2.3.0phppackagistunverified

A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax.

composer require alek13/slack
INSTALL
IMPORT
SIG · ALEK13-SLACK
A
alek13-slack
messagingphpv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Alek13\Slack\Client;

Send a simple message to a Slack channel via webhook.

use Alek13\Slack\Client; $client = new Client('https://hooks.slack.com/services/...'); $client->send('Hello from PHP!');
Debug
Known issues
gotchaThis is a fork of maknz/slack; ensure you use the correct namespace and API endpoint.
fix
Refer to the documentation for webhook URL format.
affects: >=2.0.0
Upgrade
Version history
2.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
50 hits · last 30 days
node
44
OpenAI (training)
1
Resources
alek13-slack — pip install alek13-slack · libregistry