Download the PHP package ayeo/temperature without Composer
On this page you can find all versions of the php package ayeo/temperature. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ayeo/temperature
More information about ayeo/temperature
Files in ayeo/temperature
Download ayeo/temperature
More information about ayeo/temperature
Files in ayeo/temperature
Vendor ayeo
Package temperature
Short Description Simple library to handle temperature scales
License MIT
Homepage https://github.com/ayeo/temperature
Package temperature
Short Description Simple library to handle temperature scales
License MIT
Homepage https://github.com/ayeo/temperature
Please rate this library. Is it a good library?
Informations about the package temperature
Temperature
Simple library to handle temperature scales. Features:
- Display formatted tempteratue (e.g 100 °C)
- Simple convert beetwen different scales
Supported temperature scales
- Celsius (C)
- Kelvin (K)
- Farenheit (F)
- Rankine (R)
- Reaumur (Re)
Install using Composer
Basic usage
Auto conversion
You can set Factory to autoconvert temperatures to given scale
Custom formatter
As default formatter is build by your locale settings. You can adjust it to your needs.
You can write your own Formatter. I must implemetnts FormatterInterface.
Custom temperature scale
Assume you need new temperature scale. For purpose of this example let say C2 = 2 * Celsius
License
The MIT License (MIT). Please see the license file for more information.
All versions of temperature with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package ayeo/temperature contains the following files
Loading the files please wait ....