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

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

yanglei9999/weather
===================

天气预报

0.0.5(2y ago)05MITPHP

Since Jun 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yanglei9999/package_weather)[ Packagist](https://packagist.org/packages/yanglei9999/weather)[ RSS](/packages/yanglei9999-weather/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (4)Used By (0)

 weather
=========

[](#-weather-)

 天气预报.

Installing
----------

[](#installing)

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

Usage
-----

[](#usage)

```
$response = $weather->getWeather('深圳', 'all');
```

config/services.php

```
 'weather' => [
        'key' => env('WEATHER_API_KEY'),
    ],

```

.env

```
WEATHER_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

```

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

[](#contributing)

License
-------

[](#license)

MIT

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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

Every ~0 days

Total

3

Last Release

1053d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/421dbb7d8465c34c6e6c02fe173b7cb99086557d103ca07c8d06cc420f33009b?d=identicon)[yanglei9999](/maintainers/yanglei9999)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/yanglei9999-weather/health.svg)](https://phpackages.com/packages/yanglei9999-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)
