PHPackages                             peltonsolutions/filament-common - 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. peltonsolutions/filament-common

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

peltonsolutions/filament-common
===============================

A custom package for Filament that provides common enhancements used throughout peltonsolutions packages.

v1.0.1(1mo ago)0739[6 PRs](https://github.com/peltonsolutions/filament-common/pulls)MITPHPPHP ^8.4CI passing

Since May 24Pushed todayCompare

[ Source](https://github.com/peltonsolutions/filament-common)[ Packagist](https://packagist.org/packages/peltonsolutions/filament-common)[ Docs](https://github.com/peltonsolutions/filament-common)[ RSS](/packages/peltonsolutions-filament-common/feed)WikiDiscussions main Synced today

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

filament-common
===============

[](#filament-common)

A utility package by [Pelton Solutions](https://www.nathanpelton.com) that provides shared interfaces, models, Filament table columns, form components, and translations used across the Pelton Solutions package ecosystem.

Requirements
------------

[](#requirements)

- PHP ^8.4
- Laravel ^11.0 | ^12.0 | ^13.0
- Filament ^5.0

Install
-------

[](#install)

```
composer require peltonsolutions/filament-common
```

The service provider is auto-discovered and registers the package's translation files automatically.

What's Included
---------------

[](#whats-included)

### Interfaces

[](#interfaces)

Define contracts your Eloquent models can implement:

InterfaceMethod(s)`HasDateOfBirth``getDateOfBirth()``HasEmail``getEmail()``HasFilamentUrl``getFilamentUrl()``HasName``getName()``HasPhoneNumber``getPhoneNumber()``HasTenant``whereTenantUuid()`, `tenant()``HasTenantCompany``company()``HasTenantGroup``whereTenantUuid()``HasTenants``whereTenantUuid()`, `tenants()``HasTimezone``getTimezone()`### Models

[](#models)

**`Tenant`** — Base Eloquent model with UUID primary key (`uuid`).

**`PaginatorWithPageInPath`** — Extends `LengthAwarePaginator` to embed the page number in the URL path (`/items/page/2`) instead of a query string parameter.

### Filament Table Columns

[](#filament-table-columns)

Pre-configured `TextColumn` subclasses that format timestamps using the authenticated user's timezone (if they implement `HasTimezone`) and the active locale:

- `CreatedAtColumn` — sortable, hidden by default
- `UpdatedAtColumn` — sortable, hidden by default
- `DeletedAtColumn` — sortable, hidden by default

```
use PeltonSolutions\FilamentCommon\Filament\Tables\Columns\CreatedAtColumn;
use PeltonSolutions\FilamentCommon\Filament\Tables\Columns\UpdatedAtColumn;
use PeltonSolutions\FilamentCommon\Filament\Tables\Columns\DeletedAtColumn;

// In your Filament resource's table() method:
CreatedAtColumn::make(),
UpdatedAtColumn::make(),
DeletedAtColumn::make(),
```

### Filament Form Components

[](#filament-form-components)

Pre-configured `TextInput` subclasses that display read-only timestamp fields on view pages:

- `CreatedAtView` — visible on view pages only
- `UpdatedAtView` — visible on view pages only

```
use PeltonSolutions\FilamentCommon\Filament\Forms\Components\CreatedAtView;
use PeltonSolutions\FilamentCommon\Filament\Forms\Components\UpdatedAtView;

// In your Filament resource's form() method:
CreatedAtView::make(),
UpdatedAtView::make(),
```

**`LinkedFieldView`** — Abstract `TextInput` for displaying a related record's name with a link to its Filament view page. Extend it and implement three methods:

```
use PeltonSolutions\FilamentCommon\Filament\Forms\Components\LinkedFieldView;

class UserFieldView extends LinkedFieldView
{
    protected function getRelatedRecord(int|string|null $id): ?Model
    {
        return User::find($id);
    }

    protected function displayName(Model $relatedRecord): string
    {
        return $relatedRecord->name;
    }

    protected function getRelatedRecordURL(int|string|null $id): ?string
    {
        return UserResource::getUrl('view', ['record' => $id]);
    }
}
```

### Translations

[](#translations)

Translations are published under the `pelton-solutions-common` namespace. Supported locales: `en`, `pt_BR`.

Files: `buttons`, `date_formats`, `fields`, `notifications`, `resource`.

Testing
-------

[](#testing)

```
composer test
```

Tests are written with [Pest](https://pestphp.com).

Security
--------

[](#security)

If you discover a security vulnerability, please email  rather than using the issue tracker.

Credits
-------

[](#credits)

- [Nathan Pelton](https://www.nathanpelton.com)

License
-------

[](#license)

filament-common is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance97

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.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

2

Last Release

40d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41953789?v=4)[Pelton Solutions, LLC](/maintainers/peltonsolutions)[@peltonsolutions](https://github.com/peltonsolutions)

---

Top Contributors

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

---

Tags

laravelfilamentpeltonsolutions

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/peltonsolutions-filament-common/health.svg)

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

###  Alternatives

[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3891.8k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v5 Starter Kit for Laravel 13, designed to accelerate the development of Filament-powered applications.

461.7k](/packages/ercogx-laravel-filament-starter-kit)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.6k2](/packages/crumbls-layup)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

197.8k17](/packages/wsmallnews-filament-nestedset)[tapp/filament-form-builder

User facing form builder using Filament components

132.4k3](/packages/tapp-filament-form-builder)

PHPackages © 2026

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