PHP Happy Weather Widget

PHP Happy Weather Widget

(7) 4.14 stars
63 Sales

PHP Happy Weather Widget - 1

I present you Happy Weather Widget – a new breath to display the weather. The modern, minimalist and animated design with changing wallpaper depending on your city input brings a new zest to view weather.

Widget features:

  • Forecast for 5 days / 3 hours, 7 days and the current weather.
  • Settings menu with changing fonts, enable/disable animations, 7 languages, C° / F° forecast mode.
  • Detailed forecast with rain and snow prediction, the level of cloud cover etc. on hover the mouse on a particular day or 3h time range.
  • Cross-browser compatibility.
  • Auto detect user location via IP or browser geo-coding.
  • Full AJAX Support
  • and more…

Demo: Happy Weather Widget Demo
Weather API Used: Dark Sky API
Google API Used:
Places API
Geocoding API
Updates City Backgrounds (20 November 15): HWW Backgrounds Updates

PHP Happy Weather Widget - 2


To continue using the Happy Weather Widget you have create your personal Dark Sky API and Google API keys.
Please follow the documentation for step-by-step guides here:
Dark Sky API installation guide
Google API installation guide

If you have some doubts, problems or questions please feel free to email me here:

PHP Happy Weather Widget - 3

Updates log:

Version 1.3 (20/11/2015)
  1. Now the widget has a completely different API provided by Dark Sky, thanks to which forecasts are now more accurate
  2. Added option to set your default city
  3. Google Adsense ready :
    1 banner on Desktop view (728×90px above the footer)
    2 banners on Tablet view (120×240px on the sides)
    (See examples of banners in the screenshots)
    To add the banner to the code please see 131 line in the file ‘/handlers/current.php’ and 50-57 lines in the file ‘/index.php’
  4. Added moon phases (you can see this in weather details when you hover the mouse over a particular day in the panel of days and 3 hours interval)
  5. Added weather visibility data
  6. Improved accuracy of weather icons (night / day)
  7. The forecast description is more informative
  8. Each time you click on “refresh” button the latest data will be taken
  9. Added meta tags for for better indexing in the search engines
  10. Fixed minor bugs
  11. Added new wallpapers for the cities. Wallpapers list
Version 1.2 (03/11/2015)
  1. Fixed an error ‘ Missing argument 3 for timestamp_f()’
  2. Fixed an error with not recognition of $_SERVER[‘HTTP_ACCEPT_LANGUAGE’] on some OS (defines default language for widget)
  3. Added Cookies Policy message
  4. Added changing of theme (affected items are: weather details panel at the right, menu cog icon, search input and the background overlay on widget loading.
  5. Added new wallpapers for the cities. Wallpapers list
Version 1.1 (30/10/2015)
  1. Fixed the issue with browser geo-location for some city
  2. Small fixes and optimizations
  3. Added new wallpapers for the cities. Wallpapers list
Version 1.0 (28/10/2015)
  1. Initial release