Registry / utility / gabrielelana-byte-units

gabrielelana-byte-units

JSON →
library0.5.0phppackagistunverified

Library to parse, format, and convert byte units (e.g., KB, MB).

composer require gabrielelana/byte-units
INSTALL
IMPORT
SIG · GABRIELELANA-BYTE-
G
gabrielelana-byte-units
utilityphpv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Byte
use GabrieleLana\ByteUnits\Byte;

Parse and format byte units.

use GabrieleLana\ByteUnits\Byte; $bytes = Byte::parse('1 MB'); echo $bytes->format();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
gabrielelana-byte-units — pip install gabrielelana-byte-units · libregistry