Migrate jolicode/php-os-helper to TypeScript

B Production-ready · version 0.3.0

jolicode/php-os-helper 0.3.0 is a PHP package released under the MIT license and requires PHP >=8.2. Pext migrates it to TypeScript; on Node.js, 4 of 4 PHPUnit tests pass (100%), with no failures, no errors and 4 skipped. It has no tracked dependencies, and 1 tracked package depends on it.

Helpers to detect the OS of the machine where PHP is running.

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

PHPUnit results on Node.js

100% of 4 tests passing (4 passed, 0 failed, 0 errors, 4 skipped). Verified 2026-10-21.

Where tests fail

Every executed test passes.

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

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

Dependencies

No tracked dependencies.

Used by

More from jolicode

Upstream

Version
0.3.0
License
MIT
Keywords
php, os, linux, windows, osx

Migrating a codebase that uses jolicode/php-os-helper?

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