open-southeners / byte-unit-converter
使用PHP8.1+编写的工具,用于转换多个字节单位,无依赖项
3.0.0
2024-01-04 23:40 UTC
Requires
- php: ^8.1
Requires (Dev)
- infection/infection: ^0.26
- laravel/pint: ^1.13
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^10.0
- tomasvotruba/type-coverage: ^0.2
README
使用PHP8.1+编写的工具,用于转换多个字节单位,无依赖项。
入门
composer require open-southeners/byte-unit-converter
用法
动机
在学习Swift编程语言后,我发现Darwin系统(Mac OS X)中有一个非常有用的工具,即ByteCountFormatter,这是本项目的基础,同时也在一个长期项目中使用了它(也在我们的其他包machine-stats中使用),因此就有了这个项目。
合作伙伴
许可证
此软件包是开源软件,许可协议为MIT许可证。