{"repo":"rakibdevs/openweather-laravel-api","free":true,"listed":false,"github":"https://github.com/rakibdevs/openweather-laravel-api","clone":"git clone https://github.com/rakibdevs/openweather-laravel-api.git","description":"Laravel OpenWeather API is a Laravel package to connect Open Weather Map API and get wether data in your own format laravel app.","language":"PHP","stars":76,"topics":["weather","api","laravel","openweathermap-api","package"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Open Weather API Laravel OpenWeather API (openweather-laravel-api) is a Laravel package to connect Open Weather Map APIs ( https://openweathermap.org/api ) and access free API services (current weather, weather forecast, weather history) easily. Supported APIs APIs Get data by --- --- Current Weather By city name, city ID, geographic coordinates, ZIP code One Call API By geographic coordinates 4 Day 3 Hour Forecast By city name, city ID, geographic coordinates, ZIP code 5 Day Historical By geographic coordinates Air Pollution By geographic coordinates Geocoding API By geographic coordinates Requirements Package version PHP Laravel --- --- --- ^2.0 8.0 – 8.4 8, 9, 10, 11, 12 ^1.0 (legacy) 7.2 – 8.0 6, 7, 8 Installation Install the package through Composer. On the command line: Configuration If Laravel 7, no need to add provider Add the following to your providers array in config/app.php : Add API key and desired language in .env If your existing .env uses the older misspelled OPENWAETHER API KEY / OPENWAETHER API LANG , those are still honored as a fallback, so no change is required to keep working. Publish the required package configuration file using the artisan command: Edit the config/openweather.php file and modify the api key value with your Open Weather Map api key. Now you can configure API version from config as One Call API is upgraded to version 3.0. Please set available api version in config. Usage Here you can see some example of just how simple this packa","default_branch":null,"files":null,"tree":[],"storefront":"/r/rakibdevs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rakibdevs/openweather-laravel-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}