PHPackages                             franhernandez/weather - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. franhernandez/weather

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

franhernandez/weather
=====================

Library Weather in PHP

01PHP

Since May 25Pushed 11y ago1 watchersCompare

[ Source](https://github.com/franhernandez/Weather)[ Packagist](https://packagist.org/packages/franhernandez/weather)[ RSS](/packages/franhernandez-weather/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a7c84e020d37213f8d657375a22ed78dbfe91dcd3d50de1f38b5b999eb7edb7f/68747470733a2f2f7472617669732d63692e6f72672f6672616e6865726e616e64657a2f576561746865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/franhernandez/Weather)Weather
=====================================================================================================================================================================================================================================================================================================

[](#weather)

PHP Library Weather (Yahoo Api), using HTTP Client Guzzle.
Guzzle:
Yahoo Api Weather:

Here's an example:

```
$woeid = '753692'; //From Barcelona City
$library = new WeatherLibrary();
$library->getWeatherFromWoeid($woeid);

```

Response:

```

Current Conditions:
Mostly Cloudy, 68 F
Forecast:
Sun - Mostly Clear. High: 68 Low: 60
Mon - Thunderstorms. High: 67 Low: 58
Tue - Partly Cloudy. High: 69 Low: 59
Wed - Showers. High: 66 Low: 58
Thu - Mostly Sunny. High: 68 Low: 60

Full Forecast at Yahoo! Weather
(provided by The Weather Channel)

```

[![](https://camo.githubusercontent.com/525de15d79b5dec67f3ba6d4e96553d8517e67f8d19a52d349609d7cad87600e/687474703a2f2f6c2e79696d672e636f6d2f612f692f75732f77652f35322f32382e676966)](https://camo.githubusercontent.com/525de15d79b5dec67f3ba6d4e96553d8517e67f8d19a52d349609d7cad87600e/687474703a2f2f6c2e79696d672e636f6d2f612f692f75732f77652f35322f32382e676966)
**Current Conditions:**
Mostly Cloudy, 68 F

**Forecast:**
Sun - Mostly Clear. High: 68 Low: 60
Mon - Thunderstorms. High: 67 Low: 58
Tue - Partly Cloudy. High: 69 Low: 59
Wed - Showers. High: 66 Low: 58
Thu - Mostly Sunny. High: 68 Low: 60

[Full Forecast at Yahoo! Weather](http://us.rd.yahoo.com/dailynews/rss/weather/Barcelona__ES/*http://weather.yahoo.com/forecast/SPXX0015_f.html)

(provided by [The Weather Channel](http://www.weather.com))

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6776420?v=4)[Fran Hernandez ](/maintainers/franhernandez)[@franhernandez](https://github.com/franhernandez)

### Embed Badge

![Health badge](/badges/franhernandez-weather/health.svg)

```
[![Health](https://phpackages.com/badges/franhernandez-weather/health.svg)](https://phpackages.com/packages/franhernandez-weather)
```

###  Alternatives

[phalcon/zephir

Zephir is a compiled high level language aimed to the creation of C-extensions for PHP

3.4k414.1k18](/packages/phalcon-zephir)[code-tool/jaeger-client-php

35520.8k9](/packages/code-tool-jaeger-client-php)[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

45212.0k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
