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. [Utility &amp; Helpers](/categories/utility)
4. /
5. siestacat/bytes-to-human-readable

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

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 yesterday

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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

946d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/53893905?v=4)[SiestaCat](/maintainers/SiestaCat)[@SiestaCat](https://github.com/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)
```

###  Alternatives

[corneltek/actionkit

181.5k](/packages/corneltek-actionkit)

PHPackages © 2026

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