peltonsolutions/filament-common
Larablocks Analysis
peltonsolutions/filament-common works with Laravel 11, 12 and 13 (latest release v1.0.1, May 24, 2026).
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.
- Works with Laravel 13, the current version
- Released in the last 12 months (May 24, 2026)
- 1,755 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Maintained- Last stable release: May 24, 2026.
- 2 releases in the last 12 months.
- First released: May 24, 2026.
- Monthly downloads: 1,755, up 184% from six months ago.
- 7 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require peltonsolutions/filament-common |
|
| Latest Version: | v1.0.1 |
| PHP: | ^8.4 |
| Laravel: | 11 · 12 · 13 |
| License: | MIT |
| Last Updated: | Jul 23, 2026 |
| Links: | GitHub · Packagist |
filament-common
A utility package by Pelton Solutions that provides shared interfaces, models, Filament table columns, form components, and translations used across the Pelton Solutions package ecosystem.
Requirements
- PHP ^8.4
- Laravel ^11.0 | ^12.0 | ^13.0
- Filament ^5.0
Install
composer require peltonsolutions/filament-common
The service provider is auto-discovered and registers the package's translation files automatically.
What's Included
Interfaces
Define contracts your Eloquent models can implement:
| Interface | Method(s) |
|---|---|
HasDateOfBirth |
getDateOfBirth() |
HasEmail |
getEmail() |
HasFilamentUrl |
getFilamentUrl() |
HasName |
getName() |
HasPhoneNumber |
getPhoneNumber() |
HasTenant |
whereTenantUuid(), tenant() |
HasTenantCompany |
company() |
HasTenantGroup |
whereTenantUuid() |
HasTenants |
whereTenantUuid(), tenants() |
HasTimezone |
getTimezone() |
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
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 defaultUpdatedAtColumn— sortable, hidden by defaultDeletedAtColumn— 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
Pre-configured TextInput subclasses that display read-only timestamp fields on view pages:
CreatedAtView— visible on view pages onlyUpdatedAtView— 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 are published under the pelton-solutions-common namespace. Supported locales: en, pt_BR.
Files: buttons, date_formats, fields, notifications, resource.
Testing
composer test
Tests are written with Pest.
Security
If you discover a security vulnerability, please email security@peltonsolutions.com rather than using the issue tracker.
Credits
License
filament-common is open-sourced software licensed under the MIT license.
Related Packages
A custom package for Laravel to make it easier to attach and require classes to...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.1 | ^8.4 | ^11.0| | MIT | |
| v1.0.0 | ^8.4 | ^11.0| | MIT |