NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2029 most downloaded on Packagist
A PHP library for converting between standard units of measure.
Latest stable
v2.2.0
Last release 2 years ago
no release in 18 months
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
14 years old
12 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
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 quantityYour coding agent can read these notes before it upgrades. Set up the MCP server →
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
One column per quarter.