Php Unit Conversion Versions Save

A library providing full PSR-4 compatible unit conversions

1.3.0

4 years ago

Features:

  • Add Velocity Units

Thanks to

  • @cpave3

1.2.3

4 years ago

Fixes

Thanks to

  • @Gummibeer

1.2.2

4 years ago

A maintenance release for a fix by @EyaraWS to make sure the format function doesnt enforce a width

1.2.1

4 years ago

Fixes

  • unit format() shouldnt ignore $addSymbol

Thanks to

  • @neilcrookes

1.2.0

5 years ago
  • Support for custom units
  • phpdocs for IDE autocompletetion (thanks @jkrzefski and @JoshuaBehrens)
  • Add more tests and CI integration

1.1.0

6 years ago

The amount unit has two types, 'Quantity' and 'Mole'. Quantity has been added so you can define a custom quantity without a specific type. E.g. lets say you have a product specification like contents which can either be a weight, a volume or just some sort of an amount (like pills, tablets or whatever). Now you can still benefit from storing the type of the unit in the same field as you can for the values that do contain a valid SI type.

1.0.0

6 years ago

The basic units and their tests are mostly complete now.

0.1.0

6 years ago