NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2608 most downloaded on Packagist
A PHP library for converting between standard units of measure.
Last release 1 years ago
30 Apr 2025
Ships unpredictably
gaps range from 2 months to 8.8 years
Most releases are documented
notes for 10 of 12 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
12 releases · first in 2013
Add isUnitDefined() , listAllUnits() , getOriginalValue() , and getOriginalUnit() methods to the Physical Quantity parent class
isUnitDefined(), listAllUnits(), getOriginalValue(), and getOriginalUnit() methods to the Physical Quantity parent classlint, test, and shell, in ./scripts/Added getUnitDefinitions() method to PhysicalQuantity classes, to get a raw list of UnitofMeasure objects defined on that quantity
mole as the standard unit, to represent the Amount of Substance SI base quantity.steradian as the standard unit, to represent the solid angle quantityOne column per quarter.
Migrated package from triplepoint/php-units-of-measure to php-units-of-measure/php-units-of-measure.
Registered units of measure are now properties of PhysicalQuantity classes, and not individual instances of those classes. As such, registering a new
Loosened Composer requirement on PHP version to >=5.3.0 (was previously 5.3.5).
Added information in the README about the new SI prefix units generation
Add support for automatically generating metric-prefixed units from a single base unit
Moved to PSR-4 namespace convention
New units of measure on Area: hectares, international acres
Adds new quantity Angle, and expands the units for Time.
Adds new quantity Angle, and expands the units for Time.
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →