PHPackages                             open-southeners/byte-unit-converter - 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. open-southeners/byte-unit-converter

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

open-southeners/byte-unit-converter
===================================

A utility written in PHP8.1+ to convert multiple-byte units with no dependencies

3.0.0(2y ago)52.5k2MITPHPPHP ^8.1

Since Oct 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/open-southeners/byte-unit-converter)[ Packagist](https://packagist.org/packages/open-southeners/byte-unit-converter)[ GitHub Sponsors](https://github.com/sponsors/open-southeners)[ RSS](/packages/open-southeners-byte-unit-converter/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (6)Dependencies (5)Versions (8)Used By (2)

Byte unit converter [![required php version](https://camo.githubusercontent.com/c7c8b0462e10a3f739bb1adc04fe2da34367d8512b00c7cb48f30a1a0f1e9681/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6f70656e2d736f757468656e6572732f627974652d756e69742d636f6e766572746572)](https://www.php.net/supported-versions.php) [![codecov](https://camo.githubusercontent.com/14d2edb728155d5ac9bdbc39fbbbd0a072c092ebb91606e5a1e69be0db60cd2f/68747470733a2f2f636f6465636f762e696f2f67682f6f70656e2d736f757468656e6572732f627974652d756e69742d636f6e7665727465722f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d716345676c6b51446734)](https://codecov.io/gh/open-southeners/byte-unit-converter) [![Mutation testing badge](https://camo.githubusercontent.com/a4efa81e7f0cf6b6ad3548aa59bfeef5780fee120c26e84a568b65c2db828043/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466f70656e2d736f757468656e657273253246627974652d756e69742d636f6e7665727465722532466d61696e)](https://dashboard.stryker-mutator.io/reports/github.com/open-southeners/byte-unit-converter/main) [![Edit on VSCode online](https://camo.githubusercontent.com/1e825ede949540f53ec4dce8dc8ad93376081856a01b7e3ce2f24f41c9133405/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7673636f64652d656469742532306f6e6c696e652d626c75653f6c6f676f3d76697375616c73747564696f636f6465)](https://vscode.dev/github/open-southeners/byte-unit-converter)
===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#byte-unit-converter----)

A utility written in PHP8.1+ to convert multiple-byte units with no dependencies.

Getting started
---------------

[](#getting-started)

```
composer require open-southeners/byte-unit-converter
```

### Usage

[](#usage)

[Official documentation](https://docs.opensoutheners.com/byte-unit-converter)

Motivation
----------

[](#motivation)

After learning the Swift programming language I found a very useful utility under darwin systems (Mac OS X) which is the [ByteCountFormatter](https://developer.apple.com/documentation/foundation/bytecountformatter) there is where I based this project, also needed this for a long-run project (also used in our other package: [machine-stats](https://github.com/open-southeners/machine-stats)) therefore here it is.

Partners
--------

[](#partners)

[![skore logo](https://github.com/open-southeners/partners/raw/main/logos/skore_logo.png)](https://getskore.com)

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

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

Recently: every ~3 days

Total

7

Last Release

912d ago

Major Versions

1.0.0 → 2.0.02023-12-20

2.x-dev → 3.0.02024-01-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2331052?v=4)[Ruben Robles](/maintainers/d8vjork)[@d8vjork](https://github.com/d8vjork)

---

Top Contributors

[![d8vjork](https://avatars.githubusercontent.com/u/2331052?v=4)](https://github.com/d8vjork "d8vjork (35 commits)")

---

Tags

bytesbytes-conversionconversiondependencylessframeworklesstoolsutilitiesutility-libraryconversiontoolsutilitiesbytesopen-southenersbytes-conversionframeworklessdependencyless

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/open-southeners-byte-unit-converter/health.svg)

```
[![Health](https://phpackages.com/badges/open-southeners-byte-unit-converter/health.svg)](https://phpackages.com/packages/open-southeners-byte-unit-converter)
```

###  Alternatives

[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k13.2M174](/packages/cuyz-valinor)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M26](/packages/vaimo-composer-patches)[spatie/color

A little library to handle color conversions

38221.2M36](/packages/spatie-color)[ilya/belt

A handful of tools for PHP developers.

71020.9k1](/packages/ilya-belt)[longman/ip-tools

PHP IP Tools for manipulation with IPv4 and IPv6

147256.8k7](/packages/longman-ip-tools)

PHPackages © 2026

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