Migrate laravel/forge-sdk to TypeScript

B Production-ready · version 4.1.0

laravel/forge-sdk 4.1.0 is a PHP package released under the MIT license and requires PHP ^8.2. Pext migrates it to TypeScript; on Node.js, 410 of 433 PHPUnit tests pass (94.6%), with no failures, 23 errors and 46 skipped. It depends on 1 tracked package (weakest tier: Converted), and no tracked package depends on it.

The official Laravel Forge PHP SDK.

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

PHPUnit results on Node.js

94.6% of 433 tests passing (410 passed, 0 failed, 23 errors, 46 skipped). Verified 2026-10-21.

Where tests fail

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

Test classFailing tests
BackgroundProcessesTest1
BackupsTest1
CommandsTest1
DatabasesTest1
DeploymentsTest1

The remaining 18 failing tests are spread across other classes.

What “Production-ready” means

Passes at least 80% of its original tests and behaves like the PHP original on the paths that matter. Remaining gaps are tracked.

Requirements

PHP
^8.2
Extensions
json

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 laravel/forge-sdk.

More from laravel

Upstream

Version
4.1.0
License
MIT
Repository
https://github.com/laravel/forge-sdk
Keywords
laravel, forge

Migrating a codebase that uses laravel/forge-sdk?

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