PHPackages                             baspa/buienradar-php-api - 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. baspa/buienradar-php-api

ActiveLibrary[API Development](/categories/api)

baspa/buienradar-php-api
========================

PHP package to provide fluent syntax for the Buienradar API

v1.0.6(1y ago)2281[2 PRs](https://github.com/Baspa/buienradar-php-api/pulls)MITPHPPHP ^8.1CI passing

Since Mar 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Baspa/buienradar-php-api)[ Packagist](https://packagist.org/packages/baspa/buienradar-php-api)[ Docs](https://github.com/baspa/buienradar-php-api)[ GitHub Sponsors](https://github.com/Baspa)[ RSS](/packages/baspa-buienradar-php-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (11)Used By (0)

Buienradar PHP API
==================

[](#buienradar-php-api)

[![Total Downloads](https://camo.githubusercontent.com/a52a758746366d100ec84ed6d3d3714b8c8827ac5ffef55f9b176262d50c4415/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62617370612f627569656e72616461722d7068702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/baspa/buienradar-php-api)[![Tests](https://github.com/baspa/buienradar-php-api/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/baspa/buienradar-php-api/actions/workflows/run-tests.yml)[![PHPStan](https://github.com/baspa/buienradar-php-api/actions/workflows/phpstan.yml/badge.svg?branch=main)](https://github.com/baspa/buienradar-php-api/actions/workflows/phpstan.yml)[![GitHub release (latest by date)](https://camo.githubusercontent.com/3d3776b40e2245e6dd77517fb927bbbffdefa9429d79fcd0ce4f39f45029e401/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f62617370612f627569656e72616461722d7068702d617069)](https://camo.githubusercontent.com/3d3776b40e2245e6dd77517fb927bbbffdefa9429d79fcd0ce4f39f45029e401/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f62617370612f627569656e72616461722d7068702d617069)[![Packagist PHP Version Support](https://camo.githubusercontent.com/cc0e67595df7aa284168c2a15f6bc02179a0a58735b58354110a9862555bd481/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f62617370612f627569656e72616461722d7068702d617069)](https://camo.githubusercontent.com/cc0e67595df7aa284168c2a15f6bc02179a0a58735b58354110a9862555bd481/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f62617370612f627569656e72616461722d7068702d617069)[![Latest Version on Packagist](https://camo.githubusercontent.com/dcc62284f38e1f34705b7692029235b911e00aa7b593f08079911a173fa37ca4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62617370612f627569656e72616461722d7068702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/baspa/buienradar-php-api)

This framework-agnostic PHP package provides a fluent syntax to interact with the Buienradar API.

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

[](#installation)

You can install the package via composer:

```
composer require baspa/buienradar-php-api
```

Usage
-----

[](#usage)

### Initialization

[](#initialization)

Create an instance of the `Buienradar` class:

```
use Baspa\Buienradar\Buienradar;

$buienradar = new Buienradar();
```

### Get the actual forecast report

[](#get-the-actual-forecast-report)

```
$forecast = $buienradar->forecast()->report();
```

### Get the short-term forecast

[](#get-the-short-term-forecast)

```
$forecast = $buienradar->forecast()->shortTerm();
```

### Get the long-term forecast

[](#get-the-long-term-forecast)

```
$forecast = $buienradar->forecast()->longTerm();
```

### Get the forecast for the upcoming 5 days

[](#get-the-forecast-for-the-upcoming-5-days)

```
$forecast = $buienradar->forecast()->forFiveDays();
```

### Get the forecast for one specific day

[](#get-the-forecast-for-one-specific-day)

If you want to get the forecast for a specific day, you can use the `forDay` method. The parameter is the day you want to get the forecast for, where 0 is today, 1 is tomorrow, and so on. The maximum value is 4.

```
$forecast = $buienradar->forecast()->forDay(1);
```

### Get the actual forecast for a specific measurement station

[](#get-the-actual-forecast-for-a-specific-measurement-station)

Choose either one of the following measuring stations:

- Meetstation Arcen
- Meetstation Arnhem
- Meetstation Berkhout
- Meetstation De Bilt
- Meetstation Den Helder
- Meetstation Eindhoven
- Meetstation Ell
- Meetstation Gilze Rijen
- Meetstation Goes
- Meetstation Groenlo-Hupsel
- Meetstation Groningen
- Meetstation Heino
- Meetstation Herwijnen
- Meetstation Hoek van Holland
- Meetstation Hoogeveen
- Meetstation Hoorn Terschelling
- Meetstation Houtribdijk
- Meetstation IJmuiden
- Meetstation Lauwersoog
- Meetstation Leeuwarden
- Meetstation Lelystad
- Meetstation Lopik-Cabauw
- Meetstation Maastricht
- Meetstation Marknesse
- Meetstation Nieuw Beerta
- Meetstation Rotterdam
- Meetstation Rotterdam Geulhaven
- Meetstation Schiphol
- Meetstation Stavoren
- Meetstation Texelhors
- Meetstation Twente
- Meetstation Vlieland
- Meetstation Vlissingen
- Meetstation Volkel
- Meetstation Voorschoten
- Meetstation Westdorpe
- Meetstation Wijdenes
- Meetstation Wijk aan Zee
- Meetstation Woensdrecht
- Meetstation Zeeplatform F-3

For example, to get the forecast for the Volkel station, use:

```
use Baspa\Buienradar\Enum\MeasuringStation;

$forecast = $buienradar->actualForecastForStation(MeasuringStation::VOLKEL);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Baspa](https://github.com/Baspa)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance69

Regular maintenance activity

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.2% 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 ~52 days

Recently: every ~78 days

Total

7

Last Release

475d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b4c1c73be31056bf9c8f132938f77de518259ed02f5675e4339bc7dfab5b13c?d=identicon)[Baspa](/maintainers/Baspa)

---

Top Contributors

[![Baspa](https://avatars.githubusercontent.com/u/10845460?v=4)](https://github.com/Baspa "Baspa (36 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")

---

Tags

apibuienradarbuienradar-apipackagephpBaspabuienradar-php-api

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/baspa-buienradar-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/baspa-buienradar-php-api/health.svg)](https://phpackages.com/packages/baspa-buienradar-php-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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