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

ActiveLibrary[API Development](/categories/api)

php-weather/brightsky
=====================

Brightsky provider

0.5.1(2y ago)17961MITPHPPHP ^8

Since Jul 24Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (5)Versions (8)Used By (0)

PHP Weather Provider for Bright Sky
===================================

[](#php-weather-provider-for-bright-sky)

[![Packagist Version](https://camo.githubusercontent.com/ddb30045e8ed1fe3f8117d6f47e415322354376e818669a7207f284ee872614f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d776561746865722f627269676874736b79)](https://camo.githubusercontent.com/ddb30045e8ed1fe3f8117d6f47e415322354376e818669a7207f284ee872614f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d776561746865722f627269676874736b79)
[![PHP Weather Common Version](https://camo.githubusercontent.com/75ed5d37d86ecdd60e25bfdc05a613d4ea986c9c127116b1e2b62646488c8709/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706870776561746865722d2d636f72652d302e342e2a2d627269676874677265656e)](https://camo.githubusercontent.com/75ed5d37d86ecdd60e25bfdc05a613d4ea986c9c127116b1e2b62646488c8709/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706870776561746865722d2d636f72652d302e342e2a2d627269676874677265656e)[![PHP Weather HTTP Provider Version](https://camo.githubusercontent.com/58bc1486a43378bfb71eed9e785590d2efb55bf7a5052e2a76535e6d6a061f8c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706870776561746865722d2d687474702d2d70726f76696465722d302e362e2a2d627269676874677265656e)](https://camo.githubusercontent.com/58bc1486a43378bfb71eed9e785590d2efb55bf7a5052e2a76535e6d6a061f8c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706870776561746865722d2d687474702d2d70726f76696465722d302e362e2a2d627269676874677265656e)
[![GitHub Release Date](https://camo.githubusercontent.com/cb92f22a754dfa338724d0e8021cd002817ea2e5013f4109dc681e73603661bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f7068702d776561746865722f627269676874736b79)](https://camo.githubusercontent.com/cb92f22a754dfa338724d0e8021cd002817ea2e5013f4109dc681e73603661bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f7068702d776561746865722f627269676874736b79)[![GitHub commits since tagged version](https://camo.githubusercontent.com/56ea4d8c727d72e1c895e736b1198b2371d883334c6e45ea8487a1e7a7ab17d0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f7068702d776561746865722f627269676874736b792f302e352e31)](https://camo.githubusercontent.com/56ea4d8c727d72e1c895e736b1198b2371d883334c6e45ea8487a1e7a7ab17d0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f7068702d776561746865722f627269676874736b792f302e352e31)[![GitHub last commit](https://camo.githubusercontent.com/0e3258475d072ef08d23d3d8f91c4422d61395f078b806de14862f85c516f9cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f7068702d776561746865722f627269676874736b79)](https://camo.githubusercontent.com/0e3258475d072ef08d23d3d8f91c4422d61395f078b806de14862f85c516f9cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f7068702d776561746865722f627269676874736b79)
[![GitHub Workflow Status](https://camo.githubusercontent.com/47ea3a502f406466d0807456c14ae071bf1af968d4daa2a919c1f5b5ba1c5670/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7068702d776561746865722f627269676874736b792f7068702e796d6c3f6272616e63683d6d61696e)](https://camo.githubusercontent.com/47ea3a502f406466d0807456c14ae071bf1af968d4daa2a919c1f5b5ba1c5670/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7068702d776561746865722f627269676874736b792f7068702e796d6c3f6272616e63683d6d61696e)[![GitHub](https://camo.githubusercontent.com/cb7741a7334bf822edd5a58b226c0e322b10ea6672e005f89152ed6700961f18/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7068702d776561746865722f627269676874736b79)](https://camo.githubusercontent.com/cb7741a7334bf822edd5a58b226c0e322b10ea6672e005f89152ed6700961f18/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7068702d776561746865722f627269676874736b79)[![Packagist PHP Version Support](https://camo.githubusercontent.com/481cb31e4affcd7b2482b8f5981043e958b8c429e99679df19d98b89e82c2b59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068702d776561746865722f627269676874736b79)](https://camo.githubusercontent.com/481cb31e4affcd7b2482b8f5981043e958b8c429e99679df19d98b89e82c2b59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068702d776561746865722f627269676874736b79)

This is the [Bright Sky](https://brightsky.dev/) provider from PHP Weather.

> Bright Sky is an open-source project aiming to make some of the more popular data — in particular weather observations from the DWD station network and weather forecasts from the MOSMIX model — available in a free, simple JSON API.

Installation
------------

[](#installation)

Via Composer

```
composer require php-weather/brightsky
```

Usage
-----

[](#usage)

```
$httpClient = new \Http\Adapter\Guzzle7\Client();
$brightSky = new \PhpWeather\Provider\Brightsky\Brightsky($httpClient);

$latitude = 47.873;
$longitude = 8.004;

$currentWeatherQuery = \PhpWeather\Common\WeatherQuery::create($latitude, $longitude);
$currentWeather = $brightSky->getCurrentWeather($currentWeatherQuery);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

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.

###  Release Activity

Cadence

Every ~116 days

Recently: every ~145 days

Total

6

Last Release

811d ago

PHP version history (2 changes)0.1.0PHP 8.0.\*|8.1.\*

0.5.0PHP ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/76531533d4ec8ef6b40757c24312a15f261e972240a60da68e254d4cd80d2e34?d=identicon)[lostfocus](/maintainers/lostfocus)

---

Top Contributors

[![lostfocus](https://avatars.githubusercontent.com/u/45055?v=4)](https://github.com/lostfocus "lostfocus (20 commits)")

---

Tags

brightskydwdphpweatherweatherbright sky

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[cmfcmf/openweathermap-php-api

A PHP API to parse weather data from OpenWeatherMap.org. This wrapper tries to normalise and abstract the data and remove inconsistencies.

3471.3M7](/packages/cmfcmf-openweathermap-php-api)[rakibdevs/openweather-laravel-api

Laravel package to connect https://openweathermap.org/ to get customized weather data for any location on the globe immediately

7648.2k](/packages/rakibdevs-openweather-laravel-api)[vemcogroup/laravel-weather

Weather package for Laravel to use different providers to get weather info

5525.0k](/packages/vemcogroup-laravel-weather)[rugaard/weatherkit

Integrate Apple WeatherKit API into your project

111.4k](/packages/rugaard-weatherkit)

PHPackages © 2026

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