pharaonic/laravel-readable

Laravel - Readable Number (Integer|decimal) & DateTime & Time Length & File Size.

1.0.4 2021-05-09 13:30 UTC

This package is auto-updated.

Last update: 2021-11-08 17:56:27 UTC


README

readable.jpg

PHP Version : >= 7.2 Laravel Version : >= 6.0 License Support
Source Packagist Version Packagist Downloads

Readable provides a quick and easy functions & blade directives.


  • 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.

Pharaonic Sponsors

We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Liberapay page or Patreon page.

License

This package is an open-sourced software licensed under the MIT license.