PHPackages                             baspa/filament-buienradar-widget - 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. baspa/filament-buienradar-widget

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

baspa/filament-buienradar-widget
================================

Widget to show the Dutch forecast in a Filament widget

10PHPCI passing

Since Jun 11Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Baspa/filament-buienradar-widget)[ Packagist](https://packagist.org/packages/baspa/filament-buienradar-widget)[ RSS](/packages/baspa-filament-buienradar-widget/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (10)Used By (0)

Filament Buienradar Widget
==========================

[](#filament-buienradar-widget)

[![Latest Version on Packagist](https://camo.githubusercontent.com/397979624d1f1a15cfd5bfde6d918fa9ed870629a2c52a538db26fd44197c606/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62617370612f66696c616d656e742d627569656e72616461722d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/baspa/filament-buienradar-widget)[![GitHub Tests Action Status](https://camo.githubusercontent.com/268e2912d1ddd11e4be6e52d8649d133e6ff7a760f0bc6abc6fa9c66ded0a541/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62617370612f66696c616d656e742d627569656e72616461722d7769646765742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/baspa/filament-buienradar-widget/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ad62827e36de42c730a8fd51ce50beee933b59ead395c210340e6c236ee4e3cc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62617370612f66696c616d656e742d627569656e72616461722d7769646765742f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/baspa/filament-buienradar-widget/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/bd3a0a7769906d50539465912de859f5505737db9735d1d905a00bdcc84382ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62617370612f66696c616d656e742d627569656e72616461722d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/baspa/filament-buienradar-widget)

This package provides a Filament widget to show the Dutch forecast from [Buienradar](https://www.buienradar.nl/). The package is based on the [Buienradar PHP package](https://github.com/Baspa/buienradar-php-api).

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

[](#installation)

You can install the package via composer:

```
composer require baspa/filament-buienradar-widget
```

You can publish the config file with:

```
 php artisan vendor:publish --tag="buienradar-widget-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="buienradar-widget-views"
```

This is the contents of the published config file:

```
return [
    'station' => MeasuringStation::VOLKEL,
    'show' => [
        'temperature' => true,
        'weather_description' => true,
        'wind_speed' => true,
        'stationname' => true,
        'humidity' => true,
        'last_update' => true,
    ],
];
```

To check what stations are available, you can check the `MeasuringStation` enum in the Buienradar package.

Usage
-----

[](#usage)

Add the widget to your Filament page via your provider:

```
use Baspa\FilamentBuienradarWidget\Widgets\FilamentBuienradarWidgetPlugin;

// ...

->plugin(FilamentBuienradarWidgetPlugin::make())
```

And optionally add the widgets to your page:

```
use Baspa\FilamentBuienradarWidget\Widgets\ForecastReportWidget;
use Baspa\FilamentBuienradarWidget\Widgets\ForecastLongTermWidget;
use Baspa\FilamentBuienradarWidget\Widgets\ForecastShortTermWidget;
use Baspa\FilamentBuienradarWidget\Widgets\ForecastForStationWidget;

// ...

public function getHeaderWidgetsColumns(): int
{
    return 12;
}

public function getHeaderWidgets(): array
{
    return [
        ForecastForStationWidget::make([
            'width' => 4, // Define the width of the widget
        ]),
        ForecastShortTermWidget::make([
            'width' => 4,
        ]),
        ForecastLongTermWidget::make([
            'width' => 4,
        ]),
        ForecastReportWidget::make([
            'width' => 12,
        ]),
    ];
}
```

### Forecast for station

[](#forecast-for-station)

[![Forecast for station](./docs/forecast-for-station.png)](./docs/forecast-for-station.png)

#### Set the station per widget

[](#set-the-station-per-widget)

To set the station per widget, you can pass the station in the widget. This will override the station set in the config.

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

// ...

ForecastForStationWidget::make([
    'station' => MeasuringStation::VOLKEL,
])
```

### Forecast report

[](#forecast-report)

[![Forecast report](./docs/forecast-report.png)](./docs/forecast-report.png)

### Forecast short term

[](#forecast-short-term)

[![Forecast short term](./docs/forecast-short-term.png)](./docs/forecast-short-term.png)

### Forecast long term

[](#forecast-long-term)

[![Forecast long term](./docs/forecast-long-term.png)](./docs/forecast-long-term.png)

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](.github/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

23

—

LowBetter than 26% of packages

Maintenance59

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60.3% 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://avatars.githubusercontent.com/u/10845460?v=4)[Bas van Dinther](/maintainers/Baspa)[@Baspa](https://github.com/Baspa)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/baspa-filament-buienradar-widget/health.svg)

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

PHPackages © 2026

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