Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Human Readable File Size

Human Readable File Size Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Converts bytes to formatted size strings with sensible rounding
  • Supports decimal (KB/MB) and binary (KiB/MiB) units
  • Simple, framework-agnostic PHP API
  • Ideal for file managers, uploads, and dashboards
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle