PHPackages                             athphane/filament-support - 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. athphane/filament-support

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

athphane/filament-support
=========================

 Helper traits, base component configs, and shared utilities.

v1.1.0(2mo ago)015—0%[3 PRs](https://github.com/athphane/filament-support/pulls)MITPHPPHP ^8.3 || ^8.4CI passing

Since Feb 25Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (28)Versions (6)Used By (0)

Filament Support
================

[](#filament-support)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e6739a646edba922ef682a1f6d97fe0b1756933eaaeec053fbb3f36c12c1550f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6174687068616e652f66696c616d656e742d737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/athphane/filament-support)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f8bf75d8ba9a5b3040e72e8c5e6c9ee5603afcbcce2a25cd958f249d555bb029/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6174687068616e652f66696c616d656e742d737570706f72742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/athphane/filament-support/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e47a079313e67bf59d414138e69a9e21808b8c324f9433f2ffc22d85323ad80c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6174687068616e652f66696c616d656e742d737570706f72742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/athphane/filament-support/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/6dc2da8c22b7d6e9919dd0b30944b3c0d5bef0e3527c4a0fd73419585dda7a07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6174687068616e652f66696c616d656e742d737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/athphane/filament-support)

Helper traits, base component configs, and shared utilities for Filament.

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

[](#installation)

You can install the package via composer:

```
composer require athphane/filament-support
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-support-config"
```

Configuration
-------------

[](#configuration)

The published config file allows you to enable/disable specific modifiers:

```
// config/filament-support.php

return [
    'modifiers' => [
        'forms' => env('FILAMENT_SUPPORT_MODIFIER_FORMS', true),
        'actions' => env('FILAMENT_SUPPORT_MODIFIER_ACTIONS', true),
        'tables' => env('FILAMENT_SUPPORT_MODIFIER_TABLES', true),
        'infolists' => env('FILAMENT_SUPPORT_MODIFIER_INFOLISTS', true),
        'summarizers' => env('FILAMENT_SUPPORT_MODIFIER_SUMMARIZERS', true),
    ],
];
```

All modifiers are enabled by default.

Features
--------

[](#features)

### Modifiers

[](#modifiers)

The package provides automatic configuration for Filament components:

- **Forms**: Auto-title labels, trim text input values, native date pickers, helper icons
- **Actions**: Set icon positions and default icons
- **Tables**: Title case labels, non-native filters, hidden on relation manager macro
- **Infolists**: Title case labels, enum display macro
- **Summarizers**: Default money summarizer

### Components

[](#components)

#### Coordinate (Form Component)

[](#coordinate-form-component)

A Google Maps coordinate picker for Filament forms.

```
use Athphane\FilamentSupport\Forms\Components\Coordinate;

Coordinate::make('coordinates')
    ->defaultCoordinates(4.1749, 73.5079)
    ->mapHeight(500);
```

#### PublishStatusSelect (Form Component)

[](#publishstatusselect-form-component)

A dropdown for content publishing status.

```
use Athphane\FilamentSupport\Forms\Components\PublishStatusSelect;

PublishStatusSelect::make('status');
```

#### SpatieMediaLibraryFileUpload (Form Component)

[](#spatiemedialibraryfileupload-form-component)

Enhanced file upload with automatic disk configuration.

```
use Athphane\FilamentSupport\Forms\Components\SpatieMediaLibraryFileUpload;

SpatieMediaLibraryFileUpload::make('attachment');
```

#### CoordinateMap (Infolist Component)

[](#coordinatemap-infolist-component)

Read-only coordinate map display.

```
use Athphane\FilamentSupport\Infolists\Components\CoordinateMap;

CoordinateMap::make('coordinates');
```

### Enums

[](#enums)

#### PublishStatuses

[](#publishstatuses)

Enum for content publishing status with Filament integration.

```
use Athphane\FilamentSupport\Enums\PublishStatuses;

// Options: DRAFT, PENDING, PUBLISHED, REJECTED
// Includes color, icon, and label methods for Filament
```

### Traits

[](#traits)

#### FilamentAdminUrls

[](#filamentadminurls)

Generate admin URLs for model records.

```
use Athphane\FilamentSupport\Traits\FilamentAdminUrls;

class Post extends Model
{
    use FilamentAdminUrls;

    // Disable admin URL generation if needed
    public function disableAdminUrlGeneration(): bool
    {
        return true;
    }
}

// Usage
$adminUrl = $post->getAdminUrl('edit');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Athfan Khaleel](https://github.com/athphane)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance89

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~21 days

Total

2

Last Release

61d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/221f1bea0a3ea66d158df62a82d17beac57f0aacf62c38fae3dcb0474c734016?d=identicon)[athphane](/maintainers/athphane)

---

Top Contributors

[![athphane](https://avatars.githubusercontent.com/u/13810742?v=4)](https://github.com/athphane "athphane (11 commits)")

---

Tags

laravelfilamentathphanefilament-support

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/athphane-filament-support/health.svg)

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

###  Alternatives

[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[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)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

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