pharaonic/laravel-readable

Readable numbers, dates, durations and file sizes for Laravel, as static methods, helpers and Blade directives.
87,111 22
Install
composer require pharaonic/laravel-readable
Latest Version:1.0.6
PHP:>=7.2
Laravel:6 – 12
License:MIT
Last Updated:Mar 25, 2025
Links: GitHub  ·  Packagist
Maintainer: Pharaonic
  • Number. (1,020,304,050,607,080)
  • NumberToString. ( seven thousand seven hundred twenty-one ) {PHP Extension intl}
  • HumanNumber. ( 77K || 77.4K || 77.37K )
  • Decimal. ( 60,708.547 )
  • DecInt. ( 70.00 => 70 || 70.07 )
  • Date. ( 24 April 2020 )
  • Time. ( 15:20 || 15:20:22 || 03:20 PM || 03:20:22 PM )
  • DateTime. ( Friday, April 24, 2020 05:20 PM )
  • DateTime Difference. ( 27 years before )
  • Time Length. ( 4 years 7 months 1 week 3 days 9 hours 50 minutes 10 seconds )
  • Short Time Length. ( 4y 7m 1w 3d 9h 50m 10s )
  • DateTime Length. ( 27 years - 1 week - 7 minutes - 7 seconds before )
  • File Size. ( 70 GB )

Documentation

You can find the detailed documentation here in Laravel 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.

Related Packages

pharaonic/laravel-helpers

Laravel - Classes, Traits, Functions

1,714 2
artdarek/oauth-4-laravel

OAuth Service Provider for Laravel 4

525,833 677
oriceon/toastr-5-laravel

Easy toastr notifications for Laravel 5

507,803 79
nilsenj/toastr-5.1-laravel

toastr.js for Laravel 5.1/5.2 easy notification like growl for example

34,325 6
oriceon/oauth-5-laravel

OAuth Service Provider for Laravel 5

1,676,767 173

Version History

Version Released PHP Laravel License
1.0.6 >=7.2 >=6.0 MIT
1.0.5 >=7.2 >=6.0 MIT
1.0.4 >=7.2 >=6.0 MIT
1.0.3 >=7.2 >=6.0 MIT
1.0.2 >=7.2 >=6.0 MIT