定制 jolicode/slack-php-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jolicode/slack-php-api

最新稳定版本:v4.8.0

Composer 安装命令:

composer require jolicode/slack-php-api

包简介

An up to date PHP client for Slack's API

README 文档

README

There is a bunch of existing PHP clients for Slack. But some are not up-to-date or miss features, some only cover a small part of the API and most are simply no longer maintained.

This SDK is generated automatically with JanePHP from the official Slack API specs.

It also provides a full object-oriented interface for all the endpoints, requests and responses of the Slack Web API.

Installation

This library is built atop of PSR-7 and PSR-18. So you will need to install some implementations for those standard interfaces.

If no PSR-18 client or PSR-7 message factory is available yet in your project or you don't know or don't care which one to use, just install some default:

composer require symfony/http-client nyholm/psr7

You can now install the Slack client:

composer require jolicode/slack-php-api

Quick start

// $client contains all the methods to interact with the API
$client = JoliCode\Slack\ClientFactory::create($yourSlackToken);

$user = $client->usersInfo(['user' => 'U123AZER'])->getUser();

Documentation

Want more documentation or examples? See the full documentation here.

Further documentation

You can see the current and past versions using one of the following:

Finally, some meta documentation:

License

This library is licensed under the MIT License - see the LICENSE file for details.

统计信息

  • 总下载量: 4.06M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 251
  • 点击次数: 2
  • 依赖项目数: 13
  • 推荐数: 0

GitHub 信息

  • Stars: 250
  • Watchers: 13
  • Forks: 63
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04