Download the PHP package lukundo/weather-client without Composer
On this page you can find all versions of the php package lukundo/weather-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lukundo/weather-client
More information about lukundo/weather-client
Files in lukundo/weather-client
Download lukundo/weather-client
More information about lukundo/weather-client
Files in lukundo/weather-client
Vendor lukundo
Package weather-client
Short Description A PHP package to fetch weather data from openWeather API
License MIT
Package weather-client
Short Description A PHP package to fetch weather data from openWeather API
License MIT
Please rate this library. Is it a good library?
Informations about the package weather-client
WeatherClient
WeatherClient is a reusable PHP Composer package for fetching current weather data from the OpenWeather API. It works in standalone PHP scripts and integrates easily with CodeIgniter 4.
Features
- Accepts API key on initialization
- Fetches current weather for any city
- Adds
Authorization: Bearer {API_KEY}header automatically - Returns weather data as an associative array
Installation
Install via Composer:
API Key Setup
Get your API key from OpenWeather and pass it when initializing the client:
Usage
Standalone PHP
CodeIgniter 4
Sample Output
License
MIT License
Contributing
Feel free to open issues or submit pull requests.
All versions of weather-client with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^7.9
The package lukundo/weather-client contains the following files
Loading the files please wait ...