PHP code example of wwb / weather
1. Go to this page and download the library: Download wwb/weather library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wwb / weather example snippets
return [
'weather' => [
'key' => env('WEATHER_API_KEY'),
],
];
app('weather')->getWeather('广州');