PHPackages                             leamiko/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. leamiko/weather

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

leamiko/weather
===============

a weather sdk

0.01(6y ago)02MITPHPCI failing

Since Mar 6Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

 weather
=========

[](#-weather-)

 a weather sdk.

[![Build Status](https://camo.githubusercontent.com/ce6215dd470e6315ae3190bf3c312c89aaffeb6d72bf0d338762f4aa7bdf3675/68747470733a2f2f7472617669732d63692e6f72672f6c65616d696b6f2f776561746865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/leamiko/weather)

Installing
----------

[](#installing)

```
$ composer require leamiko/weather -vvv
```

Usage
-----

[](#usage)

单元测试

```
./vendor/bin/phpunit  --filter testGetWeatherWithInvalid

```

```
composer require phpunit/phpunit 7.5

composer require --dev phpunit/phpunit^6.2

composer require --dev mockery/mockery:^1.3

```

```
composer remove phpunit/phpunit
composer require --dev phpunit/phpunit:~5

```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/leamiko/weather/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/leamiko/weather/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2262d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/960793?v=4)[Leamiko Lin](/maintainers/leamiko)[@leamiko](https://github.com/leamiko)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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