pharaonic / laravel-readable
Laravel - Readable Number (Integer|decimal) & DateTime & Time Length & File Size.
Installs: 47 846
Dependents: 4
Suggesters: 0
Security: 0
Stars: 20
Watchers: 0
Forks: 2
Open Issues: 1
Requires
- php: >=7.2
- laravel/framework: >=6.0
Requires (Dev)
- orchestra/testbench: >=5.0
README
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.
License
This package is an open-sourced software licensed under the MIT license.