PHPackages                             siestacat/bytes-to-human-readable - 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. siestacat/bytes-to-human-readable

ActiveLibrary

siestacat/bytes-to-human-readable
=================================

Bytes to human readable

1.0.1(2y ago)0701Apache-2.0PHPPHP &gt;=8.0

Since Nov 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/SiestaCat/php-bytes-to-human-readable)[ Packagist](https://packagist.org/packages/siestacat/bytes-to-human-readable)[ RSS](/packages/siestacat-bytes-to-human-readable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

PHP - Bytes to human readable
=============================

[](#php---bytes-to-human-readable)

Install:
--------

[](#install)

```
composer require siestacat/bytes-to-human-readable

```

Usage:
------

[](#usage)

```
use Siestacat\BytesToHumanReadable\BytesToHumanReadable;

var_dump(BytesToHumanReadable::convert(1104)); //1.10 kB
var_dump(BytesToHumanReadable::convert(67229, true, 1)); //65.6 KiB

```

Tests:
------

[](#tests)

```
git clone https://github.com/SiestaCat/php-bytes-to-human-readable.git
cd php-bytes-to-human-readable
composer install
composer run-script test

```

Credits
-------

[](#credits)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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 ~2 days

Total

2

Last Release

890d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca98832625a64cba12756be206d342ed01269e7f17e6badef120b4c8e30a90ca?d=identicon)[SiestaCat](/maintainers/SiestaCat)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/siestacat-bytes-to-human-readable/health.svg)

```
[![Health](https://phpackages.com/badges/siestacat-bytes-to-human-readable/health.svg)](https://phpackages.com/packages/siestacat-bytes-to-human-readable)
```

PHPackages © 2026

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