C Runtime-assisted · version 4.7.1
cocur/slugify 4.7.1 is a PHP package released under the MIT license and requires PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0. Pext migrates it to TypeScript; on Node.js, 22 of 40 PHPUnit tests pass (55.0%), with no failures and 18 errors. It has no tracked dependencies, and 4 tracked packages depend on it.
Converts a string into a slug.
55.0% of 40 tests passing (22 passed, 0 failed, 18 errors, 0 skipped). Verified 2026-10-21.
The 5 test classes with the most failing tests on Node.js:
| Test class | Failing tests |
|---|---|
| SlugifyServiceProviderTest | 4 |
| ModuleTest | 2 |
| SlugifyConverterTest | 2 |
| SlugifyExtensionTest | 2 |
| SlugifyServiceTest | 2 |
The remaining 6 failing tests are spread across other classes.
Runs and passes most of its tests, with the Pext runtime doing visible work to preserve PHP behaviour.
As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.
No tracked dependencies.
See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.