Download the PHP package soandso/units without Composer
On this page you can find all versions of the php package soandso/units. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download soandso/units
More information about soandso/units
Files in soandso/units
Download soandso/units
More information about soandso/units
Files in soandso/units
Vendor soandso
Package units
Short Description Meteorological unit converter
License GPL-2.0-or-later
Package units
Short Description Meteorological unit converter
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package units
Units
PHP library for meteorological unit conversion.
Features
- Temperature conversion
- Wind speed conversion
- Atmospheric pressure conversion
- Precipitation conversion
- Distance conversion
- Support for strongly typed enums
- Fluent API
- Unit metadata registry
- Framework independent
- PHP 8.4+
Installation
Install via Composer:
Quick Start
Supported Quantities
Retrieve metadata for a quantity:
Example output:
Temperature Conversion
Fluent API
Generic Conversion
Creating Values
Values can be created using named constructors:
Working with Value Objects
Available Quantities
Depending on installed version, the library may support:
- Temperature
- Pressure
- Wind Speed
- Precipitation
- Distance
- Visibility
- Humidity
- Cloud Base Height
Example:
Registry
The registry provides metadata about all supported quantities.
Example
Requirements
- PHP 8.4+
- Composer
License
Grouping is licensed under the GPLv2 License (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
All versions of units with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
The package soandso/units contains the following files
Loading the files please wait ...