pusher/pusher-chatkit-server
最新稳定版本:1.9.0
Composer 安装命令:
composer require pusher/pusher-chatkit-server
包简介
Pusher Chatkit PHP SDK
README 文档
README
We are sorry to say that as of April 23 2020, we will be fully retiring our Chatkit product. We understand that this will be disappointing to customers who have come to rely on the service, and are very sorry for the disruption that this will cause for them. Our sales and customer support teams are available at this time to handle enquiries and will support existing Chatkit customers as far as they can with transition. All Chatkit billing has now ceased , and customers will pay no more up to or beyond their usage for the remainder of the service. You can read more about our decision to retire Chatkit here: https://blog.pusher.com/narrowing-our-product-focus. If you are interested in learning about how you can build chat with Pusher Channels, check out our tutorials.
Chatkit PHP Server SDK
Find out more about Chatkit here.
Installation
We recommend you use composer.
You can get the Chatkit PHP SDK via a composer package called pusher-chatkit-server. See https://packagist.org/packages/pusher/pusher-chatkit-server
$ composer require pusher/pusher-chatkit-server
Or add to composer.json:
"require": { "pusher/pusher-chatkit-server": "^1.1.0" }
and then run composer update.
Or you can clone or download the SDK files.
This SDK depends on PHP modules for cURL and JSON. See cURL module installation instructions and JSON module installation instructions.
Deprecated versions
Versions of the library below 1.0.0 are deprecated and support for them will soon be dropped.
It is highly recommended that you upgrade to the latest version if you're on an older version. To view a list of changes, please refer to the CHANGELOG.
Getting started
Head over to our documentation.
Running tests
WARNING Executing these tests will issue real requests to the configured Chatkit instance, some of which may be destructive. You should NOT run against a live production instance.
Install PHPUnit.
Ensure dependencies are up to date:
composer update Set instance locator and secret key environment variables (available in the dashboard at dash.pusher.com):
export CHATKIT_INSTANCE_LOCATOR="v1:us1:89755518-5782-413d-9446-0d2726dd1e5a" export CHATKIT_INSTANCE_KEY="2a188376-d4f0-47fa-8954-dd08115ea98c:NDk5YTZkOTgtMzk2ZC00NDlhLTg1MTYtYjNhODYzYWNiMjczCg=" Execute tests against a Chatkit instance:
/vendor/phpunit/phpunit/phpunit Release process
- Update the CHANGELOG
- On Git, tag with the new version and push Packagist automatically releases new versions of the library upon detecting a new Github release.
pusher/pusher-chatkit-server 适用场景与选型建议
pusher/pusher-chatkit-server 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 183.11k 次下载、GitHub Stars 达 36, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「pusher」 「pusher-chatkit-server」 「chatkit」 「chatkit-server」 「chatkit-php」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 pusher/pusher-chatkit-server 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pusher/pusher-chatkit-server 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 pusher/pusher-chatkit-server 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Standalone PHP library for easy devices notifications push.
Module handling the real time notifications
Pusher Beams is a push notification service from Pusher.
Send push notification to android|ios devices , support APNs, FCM
A Pusher bridge for Laravel 5+
A Pusher Beams bridge for Laravel
统计信息
- 总下载量: 183.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 36
- 点击次数: 26
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04