codeinc/human-readable-file-size
Convert raw byte values into clean, human-readable file size strings with this lightweight PHP package. Configurable precision, units, and formatting make it easy to show sizes like 1.5 MB anywhere, and it works seamlessly in Laravel or any PHP project.
codeinc/human-readable-file-size is a lightweight PHP utility for converting raw byte values into human-readable file sizes such as 1.5 MB or 2.3 GiB. It handles the formatting and unit selection for you, so you can display storage and upload sizes cleanly without repeating conversion logic.
How can I help you explore Laravel packages today?