PHPackages                             jeffersongoncalves/filament-sensible-defaults - 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. jeffersongoncalves/filament-sensible-defaults

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

jeffersongoncalves/filament-sensible-defaults
=============================================

A Filament plugin that applies a curated set of sensible, opinionated UI defaults across your panels (actions, forms, selects, date-time pickers, tables, pages and display formats) with config-driven, per-block opt-outs.

3.0.1(1mo ago)113120MITPHPPHP ^8.3CI passing

Since Jun 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/jeffersongoncalves/filament-sensible-defaults)[ Packagist](https://packagist.org/packages/jeffersongoncalves/filament-sensible-defaults)[ Docs](https://github.com/jeffersongoncalves/filament-sensible-defaults)[ GitHub Sponsors](https://github.com/jeffersongoncalves)[ RSS](/packages/jeffersongoncalves-filament-sensible-defaults/feed)WikiDiscussions 3.x Synced 2w ago

READMEChangelog (7)Dependencies (14)Versions (9)Used By (20)

[![Filament Sensible Defaults](https://raw.githubusercontent.com/jeffersongoncalves/filament-sensible-defaults/3.x/art/jeffersongoncalves-filament-sensible-defaults.png)](https://raw.githubusercontent.com/jeffersongoncalves/filament-sensible-defaults/3.x/art/jeffersongoncalves-filament-sensible-defaults.png)

Filament Sensible Defaults
==========================

[](#filament-sensible-defaults)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8ceab5d5d93b5afef7ba1cfb4fd94e579e1faaa5fafa6cd0a18f30e05da59f5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d73656e7369626c652d64656661756c74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-sensible-defaults)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/531fa31e4c52152908c3940c34ae809f2a0d6a8d31b6a9a5e0675cfe895438d9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d73656e7369626c652d64656661756c74732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d332e78266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/jeffersongoncalves/filament-sensible-defaults/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3A3.x)[![Tests](https://camo.githubusercontent.com/3b2f79b81e9b9db29d1f2716cf079b2cba1b23cdc9c5791f6a95505f4d18a573/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d73656e7369626c652d64656661756c74732f72756e2d74657374732e796d6c3f6272616e63683d332e78266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/jeffersongoncalves/filament-sensible-defaults/actions?query=workflow%3Arun-tests+branch%3A3.x)[![Total Downloads](https://camo.githubusercontent.com/7bae4ccf58938ad8b040f3884843aaccce210a16e83bab633ac7093f2e7fbdfd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d73656e7369626c652d64656661756c74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-sensible-defaults)[![License](https://camo.githubusercontent.com/34ab6be2c89b0f4bb5cbf4580c3957fe0b1ad4a3a3c798674b1e510a84059fac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d73656e7369626c652d64656661756c74732e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

A Filament plugin that applies a curated set of sensible, opinionated UI defaults across your panels — actions, forms, selects, date-time pickers, tables, pages and display formats — so every Resource, Page and Widget inherits consistent behaviour without repeating configuration. Every block is config-driven and can be opted out of individually.

Compatibility
-------------

[](#compatibility)

BranchFilamentPHPLaravel`1.x``^3.0``^8.1 | ^8.2 | ^8.3``^10.0 | ^11.0``2.x``^4.0``^8.2 | ^8.3 | ^8.4``^11.0 | ^12.0``3.x``^5.0``^8.3``^12.0 | ^13.0`Installation
------------

[](#installation)

You can install the package via composer:

```
composer require jeffersongoncalves/filament-sensible-defaults:^3.0
```

Optionally publish the config file:

```
php artisan vendor:publish --tag=filament-sensible-defaults-config
```

Usage
-----

[](#usage)

By default the plugin **auto-registers** and applies every enabled block of defaults globally — no panel wiring required. Just install it and your panels inherit the defaults.

If you prefer explicit, per-panel control, set `auto_register` to `false` in `config/sensible-defaults.php` and register the plugin on your `PanelProvider`:

```
use JeffersonGoncalves\Filament\SensibleDefaults\FilamentSensibleDefaultsPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(
            FilamentSensibleDefaultsPlugin::make()
                ->selectDefaults(false)   // opt a block out fluently
                ->datetimeDefaults()      // or keep one explicitly on
        );
}
```

### What it sets

[](#what-it-sets)

BlockDefault behaviour`translate_labels``translateLabel()` on every Field, Infolist Entry and Table Column`action_defaults`Action `modalWidth(Medium)` + `closeModalByClickingAway(false)`; Create/Edit/Delete/View Heroicons + `hiddenLabel()`; `ActionGroup` ellipsis icon`select_defaults``Select` → `native(false)`, auto `searchable()`/`preload()` for relationships, `selectablePlaceholder()` when not required`datetime_defaults``DateTimePicker` → `seconds(false)` + `maxDate('9999-12-31T23:59')``fileupload_defaults``FileUpload` → `moveFiles()``repeater_defaults``Repeater` / `Builder` delete actions require confirmation`form_defaults``ToggleButtons` inline + grouped, `TextInput` `minValue(0)`, `Textarea` `rows(4)``page_defaults`Validation errors rendered as a danger Notification; non-sticky form actions`table_defaults``filtersFormWidth('md')`, pagination options `[5, 10, 25, 50]`, lazy-loaded image columns, non-native select filters`format_defaults`Schema &amp; Table currency / date / datetime / time display formats (see `formats` in the config)### Configuration

[](#configuration)

Each block is a boolean toggle and the display formats are fully customisable in `config/sensible-defaults.php`:

```
return [
    'auto_register' => true,

    'translate_labels' => true,
    'action_defaults' => true,
    'select_defaults' => true,
    'datetime_defaults' => true,
    'fileupload_defaults' => true,
    'repeater_defaults' => true,
    'form_defaults' => true,
    'page_defaults' => true,
    'table_defaults' => true,
    'format_defaults' => true,

    'formats' => [
        'currency' => 'brl',
        'date_display_format' => 'M j, Y',
        'iso_date_display_format' => 'L',
        'datetime_display_format' => 'M j, Y H:i:s',
        'iso_datetime_display_format' => 'LLL',
        'number_locale' => null,
        'time_display_format' => 'H:i:s',
        'iso_time_display_format' => 'LT',
    ],
];
```

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)

- [Jefferson Goncalves](https://github.com/jeffersongoncalves)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance91

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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

9

Last Release

41d ago

Major Versions

1.x-dev → 3.0.12026-06-24

2.x-dev → 3.x-dev2026-06-24

PHP version history (3 changes)3.0.0PHP ^8.3

2.0.0PHP ^8.2|^8.3|^8.4

1.0.0PHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411493?v=4)[Jefferson Gonçalves](/maintainers/jeffersongoncalves)[@jeffersongoncalves](https://github.com/jeffersongoncalves)

---

Top Contributors

[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

configurationdefaultsfilamentfilament-pluginjeffersongoncalveslaravellaravel-packagephplaravelfilamentjeffersongoncalvesfilament-sensible-defaults

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jeffersongoncalves-filament-sensible-defaults/health.svg)

```
[![Health](https://phpackages.com/badges/jeffersongoncalves-filament-sensible-defaults/health.svg)](https://phpackages.com/packages/jeffersongoncalves-filament-sensible-defaults)
```

###  Alternatives

[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3221.4M26](/packages/ysfkaya-filament-phone-input)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

86240.3k9](/packages/stephenjude-filament-two-factor-authentication)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.8k](/packages/rawilk-profile-filament-plugin)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16321.5k](/packages/backstage-mails)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

123204.9k1](/packages/stephenjude-filament-feature-flags)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6758.2k2](/packages/marcelweidum-filament-passkeys)

PHPackages © 2026

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