pharaonic / php-readable
Framework-agnostic, human-friendly formatting for PHP: numbers, bytes, money, durations, plus small array and string inspection helpers.
8.5.0
2026-10-08 08:48 UTC
Requires
- php: >=8.5 <8.6
- ext-mbstring: *
Requires (Dev)
- phpstan/phpstan: ^1.12 || ^2.0
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.13 || ^4.0
Suggests
- ext-intl: Required only when passing a $locale to the Number, Money and Bytes formatters.
Provides
None
Conflicts
None
Replaces
None
README
Human-friendly numbers, sizes, money and durations for PHP.
Format numbers, byte sizes, money and durations into readable text with predictable output, plus optional Intl locales.
Documentation
You can find the detailed documentation here in PHP Readable Documentation.
Contributing
Thank you for considering contributing to this package! Be one of Pharaonic team.
License
This package is an open-sourced software licensed under the MIT license.
