Registry / utility / php-units-of-measure-php-units-of-measure

php-units-of-measure-php-units-of-measure

JSON →
library2.2.0phppackagistunverified

A PHP library for converting between standard units of measure.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use PhpUnitsOfMeasure\PhysicalQuantity\Length;

Convert 10 meters to feet.

use PhpUnitsOfMeasure\PhysicalQuantity\Length; $length = new Length(10, 'meters'); echo $length->toUnit('feet');
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
10 hits · last 30 days
gptbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources