PHPackages                             ixnode/php-size-byte - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ixnode/php-size-byte

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ixnode/php-size-byte
====================

PHP Size Byte

0.1.2(3y ago)11.0k1MITShellPHP ^8.0

Since Dec 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ixnode/php-size-byte)[ Packagist](https://packagist.org/packages/ixnode/php-size-byte)[ RSS](/packages/ixnode-php-size-byte/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (7)Versions (4)Used By (1)

PHP Size Byte
=============

[](#php-size-byte)

This library converts given size into human-readable size.

Installation
------------

[](#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
```

Usage
-----

[](#usage)

```
use Ixnode\PhpSizeByte\SizeByte;
```

```
$sizeHumanReadable = (new SizeByte($fileSize))->getHumanReadable();
```

Development
-----------

[](#development)

```
git clone git@github.com:ixnode/php-size-byte.git && cd php-size-byte
```

```
composer install
```

```
composer test
```

License
-------

[](#license)

This tool is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1293d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29461791?v=4)[ixnode](/maintainers/ixnode)[@ixnode](https://github.com/ixnode)

---

Top Contributors

[![bjoern-hempel](https://avatars.githubusercontent.com/u/5531245?v=4)](https://github.com/bjoern-hempel "bjoern-hempel (5 commits)")

---

Tags

phpconversionsize

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ixnode-php-size-byte/health.svg)

```
[![Health](https://phpackages.com/badges/ixnode-php-size-byte/health.svg)](https://phpackages.com/packages/ixnode-php-size-byte)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21623.4k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
