Registry / messaging / maknz-slack

maknz-slack

JSON →
library1.7.0phppackagistunverified

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

composer require maknz/slack
INSTALL
IMPORT
SIG · MAKNZ-SLACK
M
maknz-slack
messagingphpv1.7.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 Maknz\Slack\Client;

Send messages to Slack channels via webhooks.

<?php require 'vendor/autoload.php'; use Maknz\Slack\Client; $client = new Client('https://hooks.slack.com/services/...'); $client->to('#general')->send('Hello from PHP!');
Debug
Known issues
gotchaRequires a Slack webhook URL; does not support Slack API tokens.
fix
Generate a webhook URL from Slack's Incoming Webhooks integration.
affects: >=1.0.0
Upgrade
Version history
1.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
maknz-slack — pip install maknz-slack · libregistry