https://github.com/chak10/weather-converter
Various Utilities for Weather
https://github.com/chak10/weather-converter
apparent-temperature dewpoint heat-index php php7 wind-chill
Last synced: 5 months ago
JSON representation
Various Utilities for Weather
- Host: GitHub
- URL: https://github.com/chak10/weather-converter
- Owner: chak10
- License: gpl-3.0
- Created: 2017-04-20T23:20:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T21:20:40.000Z (over 1 year ago)
- Last Synced: 2026-01-11T19:34:46.885Z (5 months ago)
- Topics: apparent-temperature, dewpoint, heat-index, php, php7, wind-chill
- Language: PHP
- Homepage:
- Size: 956 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather Converter
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.
## Features
- Convert temperature, wind speed, and pressure between different units.
- Easy integration with your existing PHP applications.
- Supports both metric and imperial units.
## Installation
1. Install dependencies using Composer:
```bash
composer require chak10/weather-converter
```
## Usage
Simply include the `WeatherConverter` class in your PHP code and use the methods to convert weather data between units.
Example:
```php
use WtConverter\Temperature;
$temp = new Temperature(25, 'c', 'f');
echo $temp->getResult(); // Output: 77 (Fahrenheit)