PHPackages                             sonja-turo/duckmode-filament - 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. [Admin Panels](/categories/admin)
4. /
5. sonja-turo/duckmode-filament

ActiveLibrary[Admin Panels](/categories/admin)

sonja-turo/duckmode-filament
============================

Duck Mode plugin for FilamentPHP

0.1.0(2y ago)051[2 PRs](https://github.com/sonja-turo/duckmode-filament/pulls)MITPHPPHP ^8.1

Since Mar 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sonja-turo/duckmode-filament)[ Packagist](https://packagist.org/packages/sonja-turo/duckmode-filament)[ Docs](https://github.com/sonja-turo/duckmode-filament)[ GitHub Sponsors](https://github.com/sonja-turo)[ RSS](/packages/sonja-turo-duckmode-filament/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (15)Versions (7)Used By (0)

Duck Mode for Filament
======================

[](#duck-mode-for-filament)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b33366932c1bddc8e875fde78bfad25589cbee0b36ae906deaed58288d3d5ad7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6e6a612d7475726f2f6475636b6d6f64652d66696c616d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sonja-turo/duckmode-filament)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8693e5a9526beefc61f2c8021fb9639a8ff63976365220e522424e7bf2fb8d32/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f6e6a612d7475726f2f6475636b6d6f64652d66696c616d656e742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/sonja-turo/duckmode-filament/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/0c34466571b1c00fc88b79a647b3f34ae197d0915f5c6b65d6e9110ffbffe3c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f6e6a612d7475726f2f6475636b6d6f64652d66696c616d656e742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/sonja-turo/duckmode-filament/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f3af19df353d8276797909b59ab998dae3bd481252d36a25d5632cc5aeca96cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6e6a612d7475726f2f6475636b6d6f64652d66696c616d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sonja-turo/duckmode-filament)

This is what you get when you have a slow Saturday night and nobody around to annoy. You annoy the rest of the world.

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

[](#installation)

Firstly, pour yourself a large draw of your favourite drink. Don't mind me, I'll wait.

...

Ok, done? Now, install the package via composer:

```
composer require sonja-turo/duckmode-filament
```

Next, because Duck Mode without Quacking is just a silly package instead of the life changing experience it was designed to be, install the assets:

```
php artisan vendor:publish --tag="duckmode-filament-assets"
```

Usage
-----

[](#usage)

### Adding Duck Mode to your admin panel

[](#adding-duck-mode-to-your-admin-panel)

Firstly, register the plugin with your panel. It's easy, don't be shy, just open the relevant FilamenttPHP Panel Provider, and add the plugin file.

```
use Sonjaturo\DuckmodeFilament\DuckmodeFilamentPlugin;
...
public function panel(Panel $panel): Panel
{
    return $panel
        ...
        ->plugin(DuckmodeFilamentPlugin::make());
}
```

### Feeder Widget

[](#feeder-widget)

Add the Feeder Widget to anywhere in your FilamentPHP dashboard by appending it to the `widgets` array in your panel's configuration. Starvation and murders are tracked over time.

```
use Sonjaturo\DuckmodeFilament\Bread;
use Sonjaturo\DuckmodeFilament\BreadType;
use Sonjaturo\DuckmodeFilament\FeederWidget;
...
public function panel(Panel $panel): Panel
{
    return $panel
        ...
        ->widgets([
            Widgets\AccountWidget::class,
            Widgets\FilamentInfoWidget::class,
            FeederWidget::make([
                'starvationRate' => 1000,
                'bread' => new Bread(BreadType::White)
            ]),
        ]);
}
```

Set the `starvationRate` to the number of milliseconds for each tick that your's health deteriorates.

The optional `bread` parameter can be one of the known bread types: `White`, `Brown`, `Multigrain`, `GlutenFree`, `Pita`, `Turkish`, `Raisin`, `Dwarf` or `None`. The default is `White`.

### Table Quactions

[](#table-quactions)

To add quacking to any of your Filament table definitions, just add a Quaction to your table actions.

```
use Sonjaturo\DuckmodeFilament\Tables\Quaction;
...
public function table(Table $table): Table
{
    return $table
        ...
        ->actions([
            Quaction::make(),
        ]);
}
```

Testing
-------

[](#testing)

I didn't do any. Why should I make you?

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently, or to read something that is most likely horribly wrong.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details. You know I never bothered to read the stub for this, right?

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities. Nope, didn't read this either. But you're installing this anyway, and even I'm telling you not to. Says more about you than it does me.

Credits
-------

[](#credits)

- [SonjaTuro](https://github.com/sonja-turo)
- [Arko Elsenaar](https://github.com/arkoe)
- [Team Shitware](https://github.com/shitware-ltd)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information. My God, you read this far.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.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 ~0 days

Total

4

Last Release

804d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f3622a08cdb9c716cbe1de862705be08b1078dd0eff37c296b6e1046379d5108?d=identicon)[sonja-turo@rout.net](/maintainers/sonja-turo@rout.net)

---

Top Contributors

[![sonja-turo](https://avatars.githubusercontent.com/u/15885111?v=4)](https://github.com/sonja-turo "sonja-turo (13 commits)")[![D-Jordy](https://avatars.githubusercontent.com/u/91130457?v=4)](https://github.com/D-Jordy "D-Jordy (2 commits)")[![arkoe](https://avatars.githubusercontent.com/u/8835399?v=4)](https://github.com/arkoe "arkoe (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelfilamentphpduckmodequack

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/sonja-turo-duckmode-filament/health.svg)

```
[![Health](https://phpackages.com/badges/sonja-turo-duckmode-filament/health.svg)](https://phpackages.com/packages/sonja-turo-duckmode-filament)
```

###  Alternatives

[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[ralphjsmit/laravel-filament-seo

A package to combine the power of Laravel SEO and Filament Admin.

15398.7k10](/packages/ralphjsmit-laravel-filament-seo)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)[husam-tariq/filament-database-schedule

Manage your Laravel Task Scheduling in a Filament interface and save schedules to the database.

10321.8k1](/packages/husam-tariq-filament-database-schedule)[geo-sot/filament-env-editor

Access .env file though Filament admin panel

2432.3k1](/packages/geo-sot-filament-env-editor)

PHPackages © 2026

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