PHPackages                             hulsia/filament-extra - 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. hulsia/filament-extra

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

hulsia/filament-extra
=====================

A set of reusable Filament helpers, columns, fields, actions and more!

v3.2.2(11mo ago)01.1k↓90%MITPHPPHP ^8.1

Since Jul 7Pushed 11mo agoCompare

[ Source](https://github.com/reneravoala/filament-extra)[ Packagist](https://packagist.org/packages/hulsia/filament-extra)[ Docs](https://github.com/saade/filament-extra)[ GitHub Sponsors](https://github.com/saade)[ RSS](/packages/hulsia-filament-extra/feed)WikiDiscussions 3.x Synced 3w ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Filament Extra
==============

[](#filament-extra)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d73df7cca5d48330901322cf51f0611f910fafc6f268423a4507278b1dd2cb1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616164652f66696c616d656e742d65787472612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/saade/filament-extra)[![Total Downloads](https://camo.githubusercontent.com/5db2ead23ed4be8359e20a2439eed9ac50dc749c465f4c3220366f33e30e8a5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616164652f66696c616d656e742d65787472612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/saade/filament-extra)

A set of reusable Filament helpers, columns, fields, actions and more!

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

[](#installation)

You can install the package via composer:

```
composer require saade/filament-extra
```

- [Filament Extra](#filament-extra)
    - [Installation](#installation)
    - [Forms](#forms)
        - [Relation Manager](#relation-manager)
        - [ColorSelect](#colorselect)
    - [Concerns](#concerns)
        - [trait HasSoftDeletedRecords](#trait-hassoftdeletedrecords)
        - [trait NavigationGroupAwareBreadcrumbs](#trait-navigationgroupawarebreadcrumbs)
        - [trait HasParentResource](#trait-hasparentresource)
    - [Support](#support)
        - [class Color](#class-color)
        - [function color](#function-color)
        - [function html](#function-html)
        - [function md](#function-md)
        - [function blade](#function-blade)
    - [Changelog](#changelog)
    - [Contributing](#contributing)
    - [Security Vulnerabilities](#security-vulnerabilities)
    - [Credits](#credits)
    - [License](#license)

Forms
-----

[](#forms)

### Relation Manager

[](#relation-manager)

This field lets you render a Relation Manager inside a form. It's useful if you need to render it inside a tab or a modal.

```
use Saade\FilamentExtra\Forms\Components\RelationManager;
use App\Filament\Resources\YourResource\RelationManagers\YourRelationManager;

RelationManager::make(YourRelationManager::class)
    ->lazy(bool $lazy = true)
```

### ColorSelect

[](#colorselect)

This field lets you pick a Filament color from your application.

```
use Saade\FilamentExtra\Forms\Components\ColorSelect;

ColorSelect::make('color')
```

Concerns
--------

[](#concerns)

### trait HasSoftDeletedRecords

[](#trait-hassoftdeletedrecords)

Tired of overriding the `getEloquentQuery` method in every resource? This trait will handle soft deletes for you.

```
use Filament\Resources\Resource;

use Saade\FilamentExtra\Concerns\HasSoftDeletedRecords;

class YourResource extends Resource
{
    use HasSoftDeletedRecords;
}
```

### trait NavigationGroupAwareBreadcrumbs

[](#trait-navigationgroupawarebreadcrumbs)

This trait will handle breadcrumbs for you. It's useful if you need to render breadcrumbs for a resource that belongs to a navigation group.

```
use Filament\Resources\Pages\CreateRecord;

use Saade\FilamentExtra\Concerns\NavigationGroupAwareBreadcrumbs;

class CreateYourRecord extends CreateRecord
{
    use NavigationGroupAwareBreadcrumbs;
}
```

### trait HasParentResource

[](#trait-hasparentresource)

This trait will handle nested resources for you. [Read the blog post](https://laraveldaily.com/post/filament-nested-resources-courses-lessons) if you want to know more. This code was partially taken from [LaravelDaily/filament-nested-resources](https://github.com/LaravelDaily/filament-nested-resources) and contributed back to the community.

1. Add the `$parentResource` property to your child resource.

```
use Filament\Resources\Resource;

class ChildResource extends Resource
{
    public static ?string $parentResource = ParentResource::class;
}
```

2. Add the child resource pages to the parent resource.

```
use Filament\Resources\Resource;

class ParentResource extends Resource
{
    public static function getPages(): array
    {
        return [
            'index' => Pages\ManageParents::route('/'),
            'edit' => Pages\EditParent::route('/{record}/edit'),

            // Please note that 'child' can be anything you want. It defaults to the resource slug.
            // If you want to change it, you need to override the $pageNamePrefix property on the child resource pages.
            'child.index' => ChildResource\Pages\ListChildren::route('/{parent}/children'),
            'child.create' => ChildResource\Pages\CreateChild::route('{parent}/children/create'),
            'child.edit' => ChildResource\Pages\EditChild::route('{parent}/children/{record}/edit'),
        ];
    }
}
```

3. Add the trait to your child resource pages.

```
use Filament\Resources\Pages\ListRecords;

use Saade\FilamentExtra\Concerns\HasParentResource;

class ListChildren extends ListRecords
{
    use HasParentResource;

    // (optional) Define custom relationship key (if it does not match the table name pattern).
    protected ?string $relationshipKey = 'parent_id';

    // (optional) Define custom child page name prefix for child pages (if it does not match the parent resource slug).
    protected ?string $pageNamePrefix = 'child';
}
```

Support
-------

[](#support)

### class Color

[](#class-color)

This class helps you interact with Filament colors. It's useful if you need to convert a color to a hex value, pick a shade to `collect()` Filament colors.

```
use Saade\FilamentExtra\Support\Color;

Color::make(name: 'fuchia', shade: 200)
  ->shade(int $shade = 500)   // Set a shade
  ->get()                     // Returns the color as array of shades
  ->toHex()                   // Returns the color as hex value
  ->toRgb()                   // Returns the color as rgb value
  ->collect()                 // Returns the color as a Laravel Collection
```

### function color

[](#function-color)

This function is a shortcut to the `Color` class.

```
use function Saade\FilamentExtra\Support\color;

color(name: 'fuchia', shade: 200)
  ->shade(int $shade = 500)   // Set a shade
  ->get()                     // Returns the color as array of shades
  ->toHex()                   // Returns the color as hex value
  ->toRgb()                   // Returns the color as rgb value
  ->collect()                 // Returns the color as a Laravel Collection
```

### function html

[](#function-html)

Use this function as a shortcut to the `Illuminate\Support\HtmlString` class.

```
use Filament\Forms;

use function Saade\FilamentExtra\Support\html;

Filament\Forms\Components\SomeField::make()
  ->label(
    html('* Label')
  )
```

### function md

[](#function-md)

Use this function as a shortcut to the `Illuminate\Support\HtmlString` class to convert markdown to HtmlString.

```
use Filament\Forms;

use function Saade\FilamentExtra\Support\md;

Filament\Forms\Components\SomeField::make()
  ->label(
    md('### Label')
  )
```

### function blade

[](#function-blade)

Use this function to render blade templates.

```
use Filament\Forms;

use function Saade\FilamentExtra\Support\blade;

Filament\Forms\Components\SomeField::make()
  ->label(
    blade(' Label', ['some' => 'data'])
  )
```

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)

- [Saade](https://github.com/saade)
- [LaravelDaily](https://github.com/LaravelDaily/filament-nested-resources) For the nested resource implementation.
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance50

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

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

2

Last Release

352d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4efd2004175cd4d90070a95f3e72aac7c6cea3e3694da09b82e37cf45d25b1d9?d=identicon)[rene@hulsia](/maintainers/rene@hulsia)

---

Top Contributors

[![saade](https://avatars.githubusercontent.com/u/14329460?v=4)](https://github.com/saade "saade (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![reneravoala](https://avatars.githubusercontent.com/u/74946423?v=4)](https://github.com/reneravoala "reneravoala (2 commits)")[![ijpatricio](https://avatars.githubusercontent.com/u/26031459?v=4)](https://github.com/ijpatricio "ijpatricio (1 commits)")

---

Tags

laravelsaadefilament-extra

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/hulsia-filament-extra/health.svg)

```
[![Health](https://phpackages.com/badges/hulsia-filament-extra/health.svg)](https://phpackages.com/packages/hulsia-filament-extra)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M152](/packages/spatie-laravel-health)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

209175.5k8](/packages/bezhansalleh-filament-google-analytics)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

43140.3k](/packages/harris21-laravel-fuse)[dotswan/filament-map-picker

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

128173.7k3](/packages/dotswan-filament-map-picker)

PHPackages © 2026

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