PHPackages                             pusher/pusher-chatkit-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pusher/pusher-chatkit-server

AbandonedArchivedLibrary

pusher/pusher-chatkit-server
============================

Pusher Chatkit PHP SDK

1.9.0(6y ago)35184.2k↓44.4%20[1 issues](https://github.com/pusher/chatkit-server-php/issues)[1 PRs](https://github.com/pusher/chatkit-server-php/pulls)3MITPHPPHP ^5.6 || ^7.0

Since Nov 3Pushed 6y ago12 watchersCompare

[ Source](https://github.com/pusher/chatkit-server-php)[ Packagist](https://packagist.org/packages/pusher/pusher-chatkit-server)[ RSS](/packages/pusher-pusher-chatkit-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (39)Used By (3)

Chatkit Retirement Announcement
===============================

[](#chatkit-retirement-announcement)

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: . If you are interested in learning about how you can build chat with Pusher Channels, check out our tutorials.

Chatkit PHP Server SDK
======================

[](#chatkit-php-server-sdk)

[![Read the docs](https://camo.githubusercontent.com/2656b385643f69fe2a6e03fd7605de46e00b89a01adb48e16a5ecb49c77224c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f726561645f7468652d646f63732d3932413844312e737667)](https://docs.pusher.com/chatkit/reference/server-php)[![Twitter](https://camo.githubusercontent.com/8cbb151e88f1de3b21a5d921b4c82a64eb6b8bd5c181196623db81beb5afba97/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d405075736865722d626c75652e7376673f7374796c653d666c6174)](http://twitter.com/Pusher)[![GitHub license](https://camo.githubusercontent.com/891419a00e04aa0e311068fa8a04eec92cab4f7026c76278279bf2a1da50e578/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c69676874677265792e737667)](https://github.com/pusher/chatkit-server-php/blob/master/LICENSE.md)[![PHP version](https://camo.githubusercontent.com/5700ff8aebd45257038d135164c675c014b0ee768ddb3ae363f7495c186812da/68747470733a2f2f62616467652e667572792e696f2f70682f7075736865722532467075736865722d636861746b69742d7365727665722e737667)](https://badge.fury.io/ph/pusher%2Fpusher-chatkit-server)

Find out more about Chatkit [here](https://pusher.com/chatkit).

Installation
------------

[](#installation)

**We recommend you [use composer](http://getcomposer.org/).**

You can get the Chatkit PHP SDK via a composer package called `pusher-chatkit-server`. See

```
$ 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](http://php.net/manual/en/curl.installation.php) and [JSON module installation instructions](http://php.net/manual/en/json.installation.php).

Deprecated versions
-------------------

[](#deprecated-versions)

Versions of the library below [1.0.0](https://github.com/pusher/chatkit-server-php/releases/tag/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](CHANGELOG.md).

Getting started
---------------

[](#getting-started)

Head over to [our documentation](https://docs.pusher.com/chatkit/reference/server-php).

Running tests
-------------

[](#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](https://phpunit.de/).

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
---------------

[](#release-process)

1. Update the CHANGELOG
2. On Git, tag with the new version and push [Packagist](https://packagist.org/packages/pusher/pusher-chatkit-server) automatically releases new versions of the library upon detecting a new Github release.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 50.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~33 days

Total

31

Last Release

2350d ago

Major Versions

0.5.9 → 1.0.02018-10-30

PHP version history (2 changes)0.1.0PHP ^5.4 || ^7.0

1.0.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4251dfa7af18e0b946db6fffd5500758adab636ea762a3a0fbd1c9279fe34e3?d=identicon)[pusher](/maintainers/pusher)

---

Top Contributors

[![hamchapman](https://avatars.githubusercontent.com/u/2475150?v=4)](https://github.com/hamchapman "hamchapman (77 commits)")[![samuelyallop-pusher](https://avatars.githubusercontent.com/u/29569457?v=4)](https://github.com/samuelyallop-pusher "samuelyallop-pusher (13 commits)")[![vivangkumar](https://avatars.githubusercontent.com/u/6005628?v=4)](https://github.com/vivangkumar "vivangkumar (12 commits)")[![callum-oakley](https://avatars.githubusercontent.com/u/11499545?v=4)](https://github.com/callum-oakley "callum-oakley (10 commits)")[![jonathanlloyd](https://avatars.githubusercontent.com/u/4275580?v=4)](https://github.com/jonathanlloyd "jonathanlloyd (10 commits)")[![elverkilde](https://avatars.githubusercontent.com/u/275784?v=4)](https://github.com/elverkilde "elverkilde (9 commits)")[![morrislaptop](https://avatars.githubusercontent.com/u/67807?v=4)](https://github.com/morrislaptop "morrislaptop (9 commits)")[![shalvah](https://avatars.githubusercontent.com/u/14361073?v=4)](https://github.com/shalvah "shalvah (3 commits)")[![mludi](https://avatars.githubusercontent.com/u/2865361?v=4)](https://github.com/mludi "mludi (3 commits)")[![neoighodaro](https://avatars.githubusercontent.com/u/807318?v=4)](https://github.com/neoighodaro "neoighodaro (2 commits)")[![minaorangina](https://avatars.githubusercontent.com/u/8915092?v=4)](https://github.com/minaorangina "minaorangina (2 commits)")[![gileswells](https://avatars.githubusercontent.com/u/304798?v=4)](https://github.com/gileswells "gileswells (1 commits)")[![luqmanrom](https://avatars.githubusercontent.com/u/6434819?v=4)](https://github.com/luqmanrom "luqmanrom (1 commits)")[![mdpye](https://avatars.githubusercontent.com/u/404825?v=4)](https://github.com/mdpye "mdpye (1 commits)")

---

Tags

chatchatkitchatkit-php-sdkchatkit-serverpusherpusherpusher-chatkit-serverchatkitchatkit-serverchatkit-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pusher-pusher-chatkit-server/health.svg)

```
[![Health](https://phpackages.com/badges/pusher-pusher-chatkit-server/health.svg)](https://phpackages.com/packages/pusher-pusher-chatkit-server)
```

###  Alternatives

[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[sly/notification-pusher

Standalone PHP library for easy devices notifications push.

1.2k2.8M15](/packages/sly-notification-pusher)[munafio/chatify

A package for Laravel PHP Framework to add a complete real-time chat system.

2.4k441.9k2](/packages/munafio-chatify)[pusher/pusher-http-laravel

\[DEPRECATED\] A Pusher bridge for Laravel

400509.0k3](/packages/pusher-pusher-http-laravel)[laravel-notification-channels/pusher-push-notifications

Pusher native Push Notifications driver.

282733.2k1](/packages/laravel-notification-channels-pusher-push-notifications)[laupifrpar/pusher-bundle

A Pusher bundle for Symfony2

652.4M1](/packages/laupifrpar-pusher-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
