Search by

sdkfabric / slack

chriskapp

Slack PHP SDK managed by SDK Fabric

Package info

github.com/sdk-fabric/slack-php

Homepage

pkg:composer/sdkfabric/slack

Fund package maintenance!

chriskapp

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-10-18 19:51 UTC

This package is auto-updated.

Last update: 2026-10-29 22:17:47 UTC


README

This SDK is managed by the SDK Fabric project, a global infrastructure to automatically generate SDKs for every API.

You can find more information about this SDK at TypeHub: https://app.typehub.cloud/d/sdkfabric/slack

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

$client = new \SdkFabric\Slack\Client::build('[access_token]');

// Deletes a message from a channel.
$response = $client->chat()->delete(new Delete_Message_Request());

// Retrieves a permalink URL for a specific existing message.
$response = $client->chat()->getPermalink('channel', 'message_ts');

// Sends an ephemeral message to a user in a channel.
$response = $client->chat()->postEphemeral(new Post_Ephemeral_Request());

// Sends a message to a channel.
$response = $client->chat()->postMessage(new Post_Message_Request());

// Schedules a message to be sent to a channel at a future time.
$response = $client->chat()->scheduleMessage(new Schedule_Message_Request());

// Updates a message in a channel.
$response = $client->chat()->update(new Update_Message_Request());