PHPackages                             gabrielelana/byte-units - 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. gabrielelana/byte-units

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

gabrielelana/byte-units
=======================

Library to parse, format and convert byte units

0.5.0(8y ago)1672.2M↓15.2%17[3 issues](https://github.com/gabrielelana/byte-units/issues)[3 PRs](https://github.com/gabrielelana/byte-units/pulls)18MITPHPPHP &gt;=5.4.0

Since Jun 25Pushed 5y ago3 watchersCompare

[ Source](https://github.com/gabrielelana/byte-units)[ Packagist](https://packagist.org/packages/gabrielelana/byte-units)[ Docs](https://github.com/gabrielelana/byte-units)[ RSS](/packages/gabrielelana-byte-units/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (8)Used By (18)

Byte Units [![Build Status](https://camo.githubusercontent.com/4b536f7ea1d56753bdc0c30e52ace90eabbd4c7270857dc55cbbd609787040d2/68747470733a2f2f7472617669732d63692e6f72672f6761627269656c656c616e612f627974652d756e6974732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gabrielelana/byte-units)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#byte-units-)

This is a utility component for parsing, formatting, converting and manipulating byte units in various formats.

Usage
-----

[](#usage)

```
