Skip to content

Repository files navigation

PHP Size Byte

This library converts given size into human-readable size.

Installation

composer require ixnode/php-size-byte
vendor/bin/php-size-byte -V
php-size-byte 0.1.0 (12-19-2022 01:17:26) - Björn Hempel <bjoern@hempel.li>

Usage

useIxnode\PhpSizeByte\SizeByte;
$sizeHumanReadable = (newSizeByte($fileSize))->getHumanReadable();

Development

git clone git@github.com:ixnode/php-size-byte.git &&cd php-size-byte
composer install
composer test

License

This tool is licensed under the MIT License - see the LICENSE file for details

About

PHP Size Byte

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages