Download the PHP package landall/filesize without Composer
On this page you can find all versions of the php package landall/filesize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download landall/filesize
More information about landall/filesize
Files in landall/filesize
Download landall/filesize
More information about landall/filesize
Files in landall/filesize
Vendor landall
Package filesize
Short Description A library to display and parse readable file sizes (for PHP7)
License MIT
Package filesize
Short Description A library to display and parse readable file sizes (for PHP7)
License MIT
Please rate this library. Is it a good library?
Informations about the package filesize
📦 FileSize — Human-friendly file size handling for PHP
A lightweight and extensible PHP library to parse, format, and convert file sizes in a human-readable and localized way.
cloned from https://github.com/tonsoo/filesize
modified for PHP7
🚀 Features
- Convert bytes to human-readable formats (KB, MB, GB, etc.);
- Format file sizes with custom decimal and thousand separators;
- Parse strings like
"123.45 MB"or"1.234,56 KB"into bytes; - Multi-locale support with optional Laravel integration;
- Fully tested with PHPUnit.
📥 Installation
🔧 Usage
Converting bytes to human-readable format:
\ Parsing from human-readable string:
✅ Testing
PHPUnit was used for testing with the commands:
📫 Credits
Developed by tonsoo and published under the nickname of l1nnah.
All versions of filesize with dependencies
PHP Build Version
Package Version
No informations.
The package landall/filesize contains the following files
Loading the files please wait ...