PHPackages                             webit/wwo-local-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. [API Development](/categories/api)
4. /
5. webit/wwo-local-weather

ActiveLibrary[API Development](/categories/api)

webit/wwo-local-weather
=======================

World Weather Online Local Weather API PHP implementation

062PHP

Since Sep 16Pushed 12y ago3 watchersCompare

[ Source](https://github.com/dbojdo/wwo-local-weather)[ Packagist](https://packagist.org/packages/webit/wwo-local-weather)[ RSS](/packages/webit-wwo-local-weather/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

World Weather Online - Local Weather API implementation
=======================================================

[](#world-weather-online---local-weather-api-implementation)

What is this?
-------------

[](#what-is-this)

Implementation of Local Weather API from

Usage
-----

[](#usage)

```
$apiKey = 'your api key';
$request = new CityRequest($apiKey);
$request->setFormat(CityRequest::FORMAT_JSON); // json is default format
$request->setNumberOfDays(3); // default 2
$request->setCity('New York');
$request->setCountry('USA');

$proxy = new CurlProxy();
$response = $proxy->performRequest($request);
if($response->getSuccess()) {
    echo $response->getCurrentWeather() . "\n";
    foreach($response->getWeatherList() as $weather) {
        echo $weather . "\n";
    }
} else {
    foreach($response->getErrors() as $error) {
        echo $error . "\n";
    }
}

```

TODO:
-----

[](#todo)

- Implementation of XML Response format
- Implementation of CSV Response format
- Tests

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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://www.gravatar.com/avatar/a6cc50814a7b150c2a02d719d33c6e11040a6d0d010b2f986a24794edce7f52f?d=identicon)[dbojdo](/maintainers/dbojdo)

---

Top Contributors

[![dbojdo](https://avatars.githubusercontent.com/u/1272416?v=4)](https://github.com/dbojdo "dbojdo (2 commits)")

### Embed Badge

![Health badge](/badges/webit-wwo-local-weather/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M96](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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