ixnode/php-size-byte
A lightweight PHP utility for converting human-readable size values like KB, MB, and GB into bytes and formatting byte counts for display. Easy to drop into Laravel or any PHP project for simple file and data size handling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| chrisullyott/php-filesize | 0.85 | A small, Composer-installable PHP library for converting byte counts into readable file sizes like 1.5 MB and back again. It provides straightforward formatting with configurable precision and units, useful for dashboards, uploads, and CLI output. | 8 | — | 0 | — | 1 | 0.1 | — | MIT | 5 years ago |
|
| rych/bytesize | 0.82 | A lightweight PHP package for parsing and formatting byte sizes. Convert human-readable values such as 1.5 MB into bytes and back again, making it useful for file-size validation, storage limits, and user-friendly display. | 31 | 35 | 1 | 5K | 0 | 0.2 | 30.3 | MIT | 12 years ago | |
| gabrielelana/byte-units | 0.79 | — | 168 | 175 | 16 | 41K | 3 | 3.2 | 34.4 | MIT | 8 years ago | |
| phpinnacle/buffer | 0.78 | A lightweight PHP library for working with binary data, offering a fluent Buffer API to read and write integers, strings, floats, and more. Useful for protocol clients, parsers, and AMQP-style message handling. | 24 | — | 2 | — | 0 | 0.3 | — | MIT | 5 years ago |
|
| open-southeners/byte-unit-converter | 0.77 | PHP 8.1+ utility to convert byte sizes between multiple units with no dependencies. Inspired by macOS ByteCountFormatter, it helps format and convert storage values consistently for apps and libraries. | 5 | 5 | 0 | 333 | 0 | 1.8 | 24.2 | MIT | 2 years ago | |
| spe/filesize-extension-bundle | 0.77 | A Symfony bundle that provides a Twig extension for formatting file sizes into human-readable strings. Register the bundle and use the filter in templates to display byte values as KB, MB, GB, and more. | 11 | 11 | 6 | 5K | 3 | 0.9 | 36.7 | MIT | — | |
| ixnode/php-checker | 0.77 | ixnode/php-checker is a lightweight PHP package offering reusable checker utilities for validating common data types and conditions. Its simple, focused methods help keep validation logic clean, readable, and consistent across Laravel and plain PHP projects. | 1 | 1 | 0 | 69 | 0 | 0.3 | 21.4 | MIT | 3 years ago | |
| php-units-of-measure/php-units-of-measure | 0.76 | PHP library for representing physical quantities and converting units (length, mass, etc.). Encapsulate values with their unit, convert via toUnit(), and accept quantities in any unit without hardcoding conversions. Composer install, PSR-4 autoloading. | 313 | 314 | 79 | 135K | 12 | 8.1 | 41.1 | MIT | 1 year ago | |
| zenstruck/bytes | 0.76 | Small PHP bytes utility for working with file sizes: parse human-readable strings (e.g. "10 MB"), format byte counts, compare values, and convert between units. Handy for Laravel/PHP apps needing consistent size handling and validation. | 25 | 25 | 3 | 90K | 0 | 4.2 | 50.1 | MIT | 10 months ago | |
| ixnode/php-array-to-object | 0.76 | ixnode/php-array-to-object converts nested PHP arrays into object instances, giving you property-style access instead of array keys. A small, dependency-free helper for config, API payloads, and JSON-decoded data. | 1 | 1 | 0 | 1 | 0 | 0.3 | 2.4 | MIT | 3 years ago | |
| ixnode/php-cli-image | 0.76 | ixnode/php-cli-image renders images directly in the terminal, converting pictures into ANSI or ASCII output for command-line tools, scripts, and Laravel artisan commands. A lightweight helper for adding visual flair to PHP CLI applications. | 3 | — | 0 | — | 1 | 0.1 | — | MIT | 1 year ago |
|
| php-standard-library/encoding | 0.76 | Encoding component from the PHP Standard Library, offering consistent, reusable PHP utilities for common encode and decode operations. Lightweight and standards-focused, it helps keep encoding logic clean and predictable across projects. | 1 | — | 0 | — | 0 | 19.5 | — | MIT | 1 week ago |
|
| maennchen/zipstream-php | 0.76 | ZipStream-PHP streams ZIP archives directly to the browser or any PSR-7 stream without writing to disk, quickly creating downloads from files, paths, or S3 buckets. Simple named arguments and a single finish call. | 1,911 | 1,922 | 112 | 10M | 3 | 31.9 | 55.7 | MIT | 6 months ago | |
| wapmorgan/binary-stream | 0.75 | A PHP library for reading and parsing binary data from streams and files, with convenient typed readers for integers, strings, and custom structures, plus seeking and position tracking for binary file formats. | 52 | 52 | 7 | 5K | 1 | 0.6 | 27.6 | MIT | 9 years ago | |
| php-http/message | 0.75 | PSR-7 HTTP message utilities for PHP: authentication implementations, stream encoders, message decorators, cookie handling, request matchers, and PSR-7 factory adapters for Guzzle and Diactoros—handy building blocks for HTTP clients and workflows. | 1,313 | 1,317 | 40 | 7M | 5 | 17.1 | 51.4 | MIT | 2 years ago | |
| phpmetrics/phpmetrics | 0.75 | PhpMetrics is a static analysis tool for PHP that computes metrics for projects and classes and generates beautiful, readable HTML reports. Install it via Composer, run the binary against any folder, and explore complexity, maintainability, and quality insights right in your browser. | 2,617 | 2,620 | 261 | 444K | 2 | 46.4 | 35.8 | MIT | 2 months ago |
How can I help you explore Laravel packages today?