spatie/weight-conversions
Lightweight PHP package for converting between common weight units (e.g., grams, kilograms, pounds, ounces). Handy for apps needing consistent unit handling in calculations, forms, and APIs, with a simple, dependency-free API.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/unit-conversions | 0.84 | Lightweight PHP unit conversion library by Spatie. Currently supports weight conversion from kilograms to pounds via a fluent API: Weight::fromKilograms(100)->toLbs(). Install with Composer and extend as more units are added. | 34 | 36 | 12 | 93 | 0 | 1.7 | 7.8 | MIT | 6 years ago | |
| spatie/workshop-unit-conversions | 0.83 | Lightweight PHP package for performing unit conversions in Laravel or any PHP app. Install via Composer and convert values between supported units with a simple API. Includes tests, changelog, and MIT license. | 2 | 2 | 1 | 0 | 0 | 20.6 | — | MIT | 5 years ago | |
| akeneo/measure-bundle | 0.81 | — | 27 | 29 | 15 | 529 | 0 | 2.6 | 18.5 | MIT | 10 years ago | |
| frost/distance | 0.81 | PHP distance conversion library for US and metric units. Convert between mi, ft, in, km, m, cm, and mm (US↔metric, US↔US, metric↔metric). Simple fluent API: setUnit(), setDistance(), convertTo(). | 3 | 5 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| php-units-of-measure/php-units-of-measure | 0.79 | 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 | 78 | 88K | 12 | 8.0 | 38.6 | MIT | 1 year ago | |
| gabrielelana/byte-units | 0.79 | — | 168 | 175 | 17 | 35K | 3 | 3.3 | 33.4 | MIT | 8 years ago | |
| baks-dev/reference-clothing | 0.78 | — | 0 | 0 | 0 | 1 | 0 | 16.2 | 4.7 | MIT | 2 months ago | |
| alex-for-test/hello-world | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| denisok94/helper | 0.78 | A small Laravel/PHP helper package providing convenience functions to speed up everyday development tasks. Useful for common utilities and shortcuts so you can reduce boilerplate across projects. | 1 | 1 | 0 | 2 | 0 | 13.8 | — | BSD-3-Clause | 4 months ago | |
| digitalrevolution/utils | 0.78 | — | 1 | 1 | 8 | 3K | 1 | 27.8 | 51.8 | MIT | 1 month ago | |
| midnightluke/php-units-of-measure-bundle | 0.78 | Symfony bundle integrating the php-units-of-measure library, providing unit definitions and services to work with quantities, conversions, and formatting in your app. Adds simple configuration and DI wiring for unit-of-measure support. | 2 | 2 | 3 | 13 | 4 | 1.1 | 10.8 | MIT | — | |
| citizen63000/easy-api-core | 0.78 | — | 0 | 0 | 1 | 5 | 0 | 6.1 | 11.2 | MIT | 9 months ago | |
| yansongda/supports | 0.78 | — | 21 | 21 | 18 | 19K | 0 | 2.1 | 40.6 | MIT | 5 years ago | |
| binsoul/common-i18n | 0.78 | Common i18n utilities for PHP applications. Provides lightweight helpers for working with translations and locales, aiming to reduce boilerplate around internationalization in shared code across projects. | 1 | 1 | 0 | 1 | 0 | 0.0 | 2.4 | MIT | — | |
| czogori/dami | 0.78 | czogori/dami is a small Laravel/PHP package that provides basic DAMI-related functionality and helpers. Lightweight and easy to drop into an existing app, it aims to streamline common tasks without heavy configuration or dependencies. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| darvinstudio/databaser | 0.77 | — | 0 | 0 | 1 | 1 | 0 | 0.1 | 6.6 | MIT | — | |
| baks-dev/reference-currency | 0.77 | — | 0 | 0 | 1 | 12 | 0 | 16.6 | 17.6 | MIT | 2 months ago | |
| akaunting/laravel-money | 0.77 | — | 785 | 787 | 109 | 142K | 0 | 32.4 | 35.6 | MIT | 2 months ago | |
| phlib/base_convert | 0.77 | Drop-in replacement for PHP base_convert that supports arbitrarily large numbers without silent failures. Convert big numeric strings between bases (e.g., 10↔36) reliably via Phlib\base_convert, and round-trip large values correctly. | 3 | 3 | 0 | 4K | 0 | 0.6 | 41.8 | LGPL-3.0 | 4 years ago | |
| spatie/tax-calculator | 0.77 | Interfaces and helpers to simplify tax calculations in PHP. Use TaxCalculation with plain numbers or items implementing HasTax to compute base, tax, and total prices, and combine calculations (e.g., cart items + delivery) on the fly. | 80 | 82 | 12 | 435 | 0 | 1.1 | 11.1 | MIT | 4 years ago |
How can I help you explore Laravel packages today?