NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1437 most downloaded on Packagist
Ably Pub/Sub SDK for servers (PHP). Construct clients with Ably\PubSub\Server::createHttpClient().
Latest stable
2.0.0
Last release 25 days ago
28 Oct 2026
Release timing varies
gaps range from 5 weeks to 1.5 years
Nearly every release is documented
notes for 22 of 22 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
22 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
The first release of the ably/pubsub-server package, superseding ably/ably-php. See `UPDATING.md` for the migration guide and the full mapping table.
The first release of the ably/pubsub-server package, superseding
ably/ably-php. See UPDATING.md for the migration guide and
the full mapping table.
Breaking changes:
ably/pubsub-server, installed with composer require ably/pubsub-server. ably/ably-php is superseded and receives security and critical-bug fixes only for one year from this release, from the maintenance/1.x branch.Ably\PubSub\. Every class other than the client keeps its name, so Ably\Models\Message becomes Ably\PubSub\Models\Message.Ably\AblyRest is now Ably\PubSub\PubSubHttpClient (PDR-091d). Applications that only construct through Server::createHttpClient() are unaffected; type hints and DI bindings naming the class must be updated.Ably\PubSub\Server::createHttpClient(), which declares the server side on the wire. It accepts everything the constructor accepted: an options array, an API key string, a token string, or a ClientOptions instance. A client constructed directly declares no side, and is rejected on accounts with monthly-active-user pricing enabled.AblyRest::setAblyAgentHeader() and AblyRest::setLibraryFlavourString(), replaced by the per-client agents client option.ably-loader.php; Composer's autoloader is the only supported install path.endpoint client option (REC1, REC2), which is now the only way to choose where the client connects. The default primary domain is main.realtime.ably.net, with fallback hosts main.[a-e].fallback.ably-realtime.com.environment and restHost client options in favour of endpoint. They are now ignored if passed, so a client still setting environment connects to production.port or tlsPort no longer disables the default fallback hosts; a hostname endpoint does.ClientOptions::getPrimaryRestHost() is now getPrimaryDomain(). Defaults::$restHost, Defaults::$realtimeHost and Defaults::getEnvironmentFallbackHosts() are replaced by Defaults::$endpoint, Defaults::getPrimaryDomain() and Defaults::getEndpointFallbackHosts().demo/ Heroku application and its Procfile.Your coding agent can read these notes before it upgrades. Set up the MCP server →
The first release of the ably/pubsub-server package, superseding
ably/ably-php. See UPDATING.md for the migration guide and
the full mapping table.
Breaking changes:
ably/pubsub-server, installed with composer require ably/pubsub-server. ably/ably-php is superseded and receives security and critical-bug fixes only for one year from this release, from the maintenance/1.x branch.Ably\PubSub\. Every class other than the client keeps its name, so Ably\Models\Message becomes Ably\PubSub\Models\Message.Ably\AblyRest is now Ably\PubSub\PubSubHttpClient (PDR-091d). Applications that only construct through Server::createHttpClient() are unaffected; type hints and DI bindings naming the class must be updated.Ably\PubSub\Server::createHttpClient(), which declares the server side on the wire. It accepts everything the constructor accepted: an options array, an API key string, a token string, or a ClientOptions instance. A client constructed directly declares no side, and is rejected on accounts with monthly-active-user pricing enabled.AblyRest::setAblyAgentHeader() and AblyRest::setLibraryFlavourString(), replaced by the per-client agents client option.ably-loader.php; Composer's autoloader is the only supported install path.endpoint client option (REC1, REC2), which is now the only way to choose where the client connects. The default primary domain is main.realtime.ably.net, with fallback hosts main.[a-e].fallback.ably-realtime.com.environment and restHost client options in favour of endpoint. They are now ignored if passed, so a client still setting environment connects to production.port or tlsPort no longer disables the default fallback hosts; a hostname endpoint does.ClientOptions::getPrimaryRestHost() is now getPrimaryDomain(). Defaults::$restHost, Defaults::$realtimeHost and Defaults::getEnvironmentFallbackHosts() are replaced by Defaults::$endpoint, Defaults::getPrimaryDomain() and Defaults::getEndpointFallbackHosts().demo/ Heroku application and its Procfile.Other changes:
ably-pubsub-php, and the server side is declared by an ably-pubsub-server entry: Ably-Agent: ably-pubsub-php/2.0.0 php/8.3.4 ably-pubsub-server.agents client option (array<string, string|null>) so an SDK or framework built on this package can attribute its own traffic.rybakit/msgpack is now constrained to ^0.9.1 || ^1.0.Merged pull requests:
Function curl_close() is deprecated since PHP 8.5, as it has no effect since PHP 8.0
Fixed bugs:
Merged pull requests:
PHP 8.4 Deprecations - Implicitly marking parameter $cipherParams as nullable is deprecated \#206
Fix idempotent rest publishing \#192
Implemented enhancements:
Closed issues:
Merged pull requests:
Add support for PHP 8.2 \#167 (driesvints)
Add support to get channel lifecycle status \#155
Defaults: Generate environment fallbacks \#87
Implement RSC7d \(Ably-Agent header\) \#104
Using a clientId should no longer be forcing token auth in the 1.1 spec \#74
Fixed bugs:
Closed issues:
clientId from auth.clientId #101Merged pull requests:
With this release we are introducing support for PHP 8 and dropping support for PHP versions 5.6, 7.0, and 7.1 since they have reached EOL.
With this release we are introducing support for PHP 8 and dropping support for PHP versions 5.6, 7.0, and 7.1 since they have reached EOL.
Implemented enhancements:
Fixed bugs:
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
Add support for extras in publish \#82
Added support for push notifications
Added support for push notifications
Changelog https://github.com/ably/ably-php/blob/master/CHANGELOG.md#v112
Implemented enhancements:
Merged pull requests:
Known Limitations \#71 (Srushtika)
Merged pull requests:
This is the first stable release supporting the Ably 1.1. library specification
This is the first stable release supporting the Ably 1.1. library specification
Changelog https://github.com/ably/ably-php/blob/master/CHANGELOG.md#v110
This 1.1 release brings many new features from 1.0:
See the complete release notes at https://blog.ably.io/ablys-client-library-sdks-1-1-release-8165c73c76fd
Implemented enhancements:
Closed issues:
Merged pull requests:
$ to presence history example #55 (Quezler)HttpRequest & HttpRetry timeouts
Added support for:
Implemented enhancements:
Closed issues:
Merged pull requests:
Major update to this client library with some breaking changes. See https://blog.ably.io/v1-0-client-libraries-released-8a375dca7a26 for a summary of…
Major update to this client library with some breaking changes. See https://blog.ably.io/v1-0-client-libraries-released-8a375dca7a26 for a summary of important, breaking changes and upgrade notes.
Implemented enhancements:
Closed issues:
added AblyRest::request() to make authenticated requests to bleeding edge APIs
AblyRest::request() to make authenticated requests to bleeding edge APIsAuth::authorise() to authorize and dropped support for the force parameter, which is assumed always trueFixed bugs:
Closed issues:
Merged pull requests:
Mac mismatch - possible timezone issue? \#26
Fixed bug with createTokenRequest not working on some PHP configs \#28 (bladeSk)
Switch arity of auth methods \#16
Bring inline with latest 0.8.\* spec \#15
Demo, bug fixes, Heroku \#12 (bladeSk)
Implemented enhancements:
Merged pull requests:
* This Change Log was automatically generated by github_changelog_generator
One column per quarter.