An open API service indexing awesome lists of open source software.

https://github.com/open-southeners/byte-unit-converter

A utility written in PHP8.1+ to convert multiple-byte units with no dependencies
https://github.com/open-southeners/byte-unit-converter

bytes bytes-conversion conversion dependencyless frameworkless tools utilities utility-library

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          

Byte unit converter [![required php version](https://img.shields.io/packagist/php-v/open-southeners/byte-unit-converter)](https://www.php.net/supported-versions.php) [![codecov](https://codecov.io/gh/open-southeners/byte-unit-converter/branch/main/graph/badge.svg?token=qcEglkQDg4)](https://codecov.io/gh/open-southeners/byte-unit-converter) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fopen-southeners%2Fbyte-unit-converter%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/open-southeners/byte-unit-converter/main) [![Edit on VSCode online](https://img.shields.io/badge/vscode-edit%20online-blue?logo=visualstudiocode)](https://vscode.dev/github/open-southeners/byte-unit-converter)
===

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

## Getting started

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

### Usage

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

## 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

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

## License

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