Skip to content

Prototype

PHP Readable or Laravel Readable

Do you need human-friendly formatting in plain PHP, or in Laravel views?

Facts checked against the source on . Releases, requirements and lines are read live from each package's latest release.

PHP Readable or Laravel Readable: facts side by side
PHP ReadableLaravel Readable
Choose it whenYou format values outside Laravel, or need money or the array and string helpers.You format values in Blade views, including dates and relative times.
What it formatsNumbers, bytes, money and durations, plus small array and string inspection helpers. Sourcefor What it formats (opens in a new tab)Numbers, dates and times, relative dates, durations and file sizes. Sourcefor What it formats (opens in a new tab)
API styleOne class per kind: Number, Bytes, Money, Duration, Arr, Str. Sourcefor API style (opens in a new tab)Static Readable::get*() methods, readable_*() helpers and @readable* Blade directives. Sourcefor API style (opens in a new tab)
Installcomposer require pharaonic/php-readablecomposer require pharaonic/laravel-readable
Latest releasev8.5.2v13.0.0
Released on2026-10-112026-10-11
RequiresPHP 8.5PHP 8.3 – 8.5, Laravel 13
Maintained linesv8.5.x, v8.4.x, v8.3.x, v8.2.x, v8.1.x, v8.0.xv13.x, v12.x, v11.x, v10.x, v9.x, v8.x, v7.x, v6.x
Other dependenciesNonepharaonic/php-readable
LicenseMITMIT

Limitations

  • The two APIs differ, so moving from one to the other is not a drop-in change.
  • Laravel Readable's Blade directives echo raw, unescaped output, as its 1.x directives did.

This comparison only covers Pharaonic packages and states what their code does. It doesn't rate them or measure performance. Spotted something out of date? Report it.