egl / utils
General-purpose PHP utility helpers shared across EGL projects
v1.0.0
2026-08-08 23:15 UTC
Requires
- php: >=8.1
- ext-fileinfo: *
- ext-pdo: *
- psr/container: ^2.0
- psr/log: ^3.0
Requires (Dev)
- deptrac/deptrac: ^4.4
- ergebnis/composer-normalize: ^2.44
- friendsofphp/php-cs-fixer: ^3.75
- masterminds/html5: ^2.7.5
- phpbench/phpbench: ^1.2
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^10.5
- symfony/html-sanitizer: ^6.4
Suggests
- ext-iconv: Required by Str::transcode() (spec r3 FR-31); also improves Str::slug() transliteration when ext-intl is absent. transcode() raises a clear UtilsException if called without it, rather than degrading silently.
- symfony/html-sanitizer: Required by Sanitizer::richText() to sanitize user-authored HTML (spec FR-09b). Not needed unless you render untrusted markup; richText() raises a clear UtilsException if it is called without this installed, rather than returning the input unsanitized.
This package is auto-updated.
Last update: 2026-08-10 12:53:30 UTC