pharaonic/laravel-readable

Laravel - Readable Number (Integer|decimal) & DateTime & Time Length & File Size.
85,958 22
Install
composer require pharaonic/laravel-readable
Latest Version:1.0.6
PHP:>=7.2
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,702 2
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,315 160
oriceon/oauth-5-laravel

OAuth Service Provider for Laravel 5

1,671,889 174
artdarek/oauth-4-laravel

OAuth Service Provider for Laravel 4

523,362 677
oriceon/toastr-5-laravel

Easy toastr notifications for Laravel 5

503,999 79