spe/filesize-extension-bundle
A Symfony bundle that provides a Twig extension for formatting file sizes into human-readable strings. Register the bundle and use the filter in templates to display byte values as KB, MB, GB, and more.
Consider it when:
Look elsewhere when:
Executive summary: This is a tiny, low-risk utility for making file sizes readable in the UI. It is not a strategic platform dependency and does not address storage, uploads, or file management. For a Twig-based product, it can reduce custom formatting code and improve consistency. For a Laravel/Blade product, treat it as a reference implementation or small internal helper rather than a direct package adoption.
Engineering summary: The package provides a Twig filter for human-readable file sizes under an MIT license. It is narrowly scoped and easy to reason about, but it has limited adoption and is not Laravel-native. Recommended path: pilot in non-critical admin or internal templates if Twig is present; otherwise implement an equivalent Blade helper and keep raw byte values in the data layer. Avoid making it a critical-path dependency without a maintenance review.
How can I help you explore Laravel packages today?