Migrate ably/ably-php to TypeScript

C Runtime-assisted · version 1.1.11

ably/ably-php 1.1.11 is a PHP package released under the Apache-2.0 license and requires PHP ^7.2 || ^8.0. Pext migrates it to TypeScript; on Node.js, 32 of 60 PHPUnit tests pass (53.3%), with no failures, 28 errors and 133 skipped. It depends on 1 tracked package (weakest tier: Converted), and no tracked package depends on it.

Ably REST client library for PHP.

ConvertsYes
Runs on Node.jsYes
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

53.3% of 60 tests passing (32 passed, 0 failed, 28 errors, 133 skipped). Verified 2026-10-21.

Where tests fail

The 5 test classes with the most failing tests on Node.js:

Test classFailing tests
CryptoTest11
MiscellaneousTest2
AblyRestRequestTest1
AblyRestTest1
AppStatsTest1

The remaining 12 failing tests are spread across other classes.

What “Runtime-assisted” means

Runs and passes most of its tests, with the Pext runtime doing visible work to preserve PHP behaviour.

Requirements

PHP
^7.2 || ^8.0
Extensions
curljsonopenssl

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

Weakest dependency: D Converted

Used by

No tracked package depends on ably/ably-php.

Upstream

Version
1.1.11
License
Apache-2.0
Homepage
https://www.ably.com/
Keywords
messaging, messages, ably

Migrating a codebase that uses ably/ably-php?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.