PHPackages                             ralphjsmit/laravel-filament-components - 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. ralphjsmit/laravel-filament-components

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

ralphjsmit/laravel-filament-components
======================================

A collection of reusable components for Filament.

3.2.0(1mo ago)10972.2k↓35.7%12[1 PRs](https://github.com/ralphjsmit/laravel-filament-components/pulls)2MITPHPPHP ^8.3CI passing

Since Feb 15Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/ralphjsmit/laravel-filament-components)[ Packagist](https://packagist.org/packages/ralphjsmit/laravel-filament-components)[ Docs](https://github.com/ralphjsmit/laravel-filament-components)[ RSS](/packages/ralphjsmit-laravel-filament-components/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (17)Used By (2)

[![laravel-filament-components](https://github.com/ralphjsmit/laravel-filament-components/raw/main/docs/images/laravel-filament-components.jpg)](https://github.com/ralphjsmit/laravel-filament-components/blob/main/docs/images/laravel-filament-components.jpg)

A collection of reusable components for Filament.
=================================================

[](#a-collection-of-reusable-components-for-filament)

This package is a collection of handy components for you to use in all your Filament projects. It provides handy components that can be used in almost any project, like sidebars, timestamps &amp; more.

**PRs are welcome, so if you've made a handy component yourself, feel free to send a pull request!**

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

[](#installation)

You can install the package via composer:

```
composer require ralphjsmit/laravel-filament-components
```

Usage
-----

[](#usage)

Currently, the following components are available:

1. [Sidebar](#sidebar)
2. [Timestamps](#timestamps)
3. [UpdatedAt](#updatedat)
4. [CreatedAt](#createdat)
5. [DeletedAt](#deletedat)
6. [Timestamp](#timestamp)

### Sidebar

[](#sidebar)

You can use the `Sidebar` component to split the form into two distinct sections, like a sidebar:

```
use RalphJSmit\Filament\Components\Forms\Sidebar;

Sidebar::make([
    // Components for the main section here
],[
    // Components for the sidebar section here
])
```

If you're using it in the Admin panel, you can use the `Sidebar` in your `form()` method:

```
use Filament\Forms\Components\Section;
use Filament\Forms\Components\TextInput;
use Filament\Resources\Form;
use RalphJSmit\Filament\Components\Forms\Timestamps;
use RalphJSmit\Filament\Components\Forms\Sidebar;

public static function form(Form $form): Form
{
    return $form->schema([
        Sidebar::make([
            Section::make()
                ->schema([
                    TextInput::make('title')->label('Title'),
                    // ...
                ]),
            // ...
        ], [
            Section::make()
                ->schema([
                    ...Timestamps::make(),
                    // ...
                ]),
            // ...
        ]),
    ]);
}
```

Sidebars work very nicely with the Section component to define distinct and easily scannable sections in your interface.

Timestamps
----------

[](#timestamps)

Use the `Timestamps` component to display a 'Created at' and 'Updated at' timestamp for your record:

```
use RalphJSmit\Filament\Components\Forms\Timestamps;

return $form->schema([
    ...Timestamps::make(),
    //
]);
```

The `Timestamps` component returns an array with the `CreatedAt` and `UpdatedAt` components below, so you should use array spreading like in the example to merge the components into your own array.

CreatedAt
---------

[](#createdat)

Use the `CreatedAt` component to display the `created_at` timestamp for your record:

```
use RalphJSmit\Filament\Components\Forms\CreatedAt;

return $form->schema([
    CreatedAt::make(),
    //
]);
```

UpdatedAt
---------

[](#updatedat)

Use the `UpdatedAt` component to display the `updated_at` timestamp for your record:

```
use RalphJSmit\Filament\Components\Forms\UpdatedAt;

return $form->schema([
    UpdatedAt::make(),
    //
]);
```

DeletedAt
---------

[](#deletedat)

Use the `DeletedAt` component to display the `deleted_at` timestamp for your soft-delete record:

```
use RalphJSmit\Filament\Components\Forms\DeletedAt;

return $form->schema([
    DeletedAt::make(),
    //
]);
```

Timestamp
---------

[](#timestamp)

Use the `Timestamp` component to display a custom timestamp for your record. Internally, all of the above timestamps use this component.

```
use RalphJSmit\Filament\Components\Forms\Timestamp;

return $form->schema([
    Timestamp::make('email_verified_at'),
    //
]);
```

General
-------

[](#general)

🐞 If you spot a bug, please submit a detailed issue and I'll try to fix it as soon as possible.

🔐 If you discover a vulnerability, please review [our security policy](../../security/policy).

🙌 If you want to contribute, please submit a pull request. All PRs will be fully credited. If you're unsure whether I'd accept your idea, feel free to contact me!

🙋‍♂️ [Ralph J. Smit](https://ralphjsmit.com)

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity46

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~107 days

Recently: every ~97 days

Total

15

Last Release

55d ago

Major Versions

1.3.2 → 2.0.02023-09-12

2.x-dev → 3.0.02025-10-28

PHP version history (2 changes)1.0.0PHP ^8.0

3.2.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/59207045?v=4)[Ralph J. Smit](/maintainers/ralphjsmit)[@ralphjsmit](https://github.com/ralphjsmit)

---

Top Contributors

[![ralphjsmit](https://avatars.githubusercontent.com/u/59207045?v=4)](https://github.com/ralphjsmit "ralphjsmit (66 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (19 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (14 commits)")[![lukas-frey](https://avatars.githubusercontent.com/u/10926334?v=4)](https://github.com/lukas-frey "lukas-frey (4 commits)")[![ziming](https://avatars.githubusercontent.com/u/679513?v=4)](https://github.com/ziming "ziming (3 commits)")[![giacomomasseron](https://avatars.githubusercontent.com/u/16156317?v=4)](https://github.com/giacomomasseron "giacomomasseron (1 commits)")[![atmonshi](https://avatars.githubusercontent.com/u/1952412?v=4)](https://github.com/atmonshi "atmonshi (1 commits)")[![coolsam726](https://avatars.githubusercontent.com/u/5610289?v=4)](https://github.com/coolsam726 "coolsam726 (1 commits)")[![alexmanase](https://avatars.githubusercontent.com/u/10696975?v=4)](https://github.com/alexmanase "alexmanase (1 commits)")

---

Tags

hacktoberfestphplaravelralphjsmitlaravel-filament-components

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/ralphjsmit-laravel-filament-components/health.svg)

```
[![Health](https://phpackages.com/badges/ralphjsmit-laravel-filament-components/health.svg)](https://phpackages.com/packages/ralphjsmit-laravel-filament-components)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[ralphjsmit/laravel-seo

A package to handle the SEO in any Laravel application, big or small.

841433.3k21](/packages/ralphjsmit-laravel-seo)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[codebar-ag/laravel-filament-json-field

A Laravel Filament JSON Field integration with CodeMirror support

1124.1k](/packages/codebar-ag-laravel-filament-json-field)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)

PHPackages © 2026

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