Migrate laminas/laminas-permissions-rbac to TypeScript

B Production-ready · version 3.8.0

laminas/laminas-permissions-rbac 3.8.0 is a PHP package released under the BSD-3-Clause license and requires PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0. Pext migrates it to TypeScript; on Node.js, 34 of 35 PHPUnit tests pass (97.1%), with 1 failure and no errors. It has no tracked dependencies, and no tracked package depends on it.

Provides a role-based access control management

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

PHPUnit results on Node.js

97.1% of 35 tests passing (34 passed, 1 failed, 0 errors, 0 skipped). Verified 2026-10-21.

Where tests fail

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

Test classFailing tests
RoleTest1

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.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
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

No tracked package depends on laminas/laminas-permissions-rbac.

More from laminas

Upstream

Version
3.8.0
License
BSD-3-Clause
Repository
https://github.com/laminas/laminas-permissions-rbac
Homepage
https://laminas.dev
Keywords
laminas, laminas-permissions-rbac, rbac, authorization

Migrating a codebase that uses laminas/laminas-permissions-rbac?

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