Weather Converter is a PHP-based tool designed to convert weather data between different units and formats. This project is intended for developers looking to integrate weather data conversion functionality into their applications.
- Convert temperature, wind speed, and pressure between different units.
- Easy integration with your existing PHP applications.
- Supports both metric and imperial units.
- Install dependencies using Composer:
composer require chak10/weather-converter
Simply include the WeatherConverter
class in your PHP code and use the methods to convert weather data between units.
Example:
use WtConverter\Temperature;
$temp = new Temperature(25, 'c', 'f');
echo $temp->getResult(); // Output: 77 (Fahrenheit)