Skip to main content
1

Create your Laravel project

If you haven’t already, create a new Laravel project:
Then, install Filament following the panel builder installation instructions.
2

Create models and migrations

Let’s build a simple blog with Authors and Posts. Create the models:
Update the migrations in database/migrations/:
Run the migrations:
3

Define relationships

Add the relationship methods to your models:
4

Generate Filament resources

Use the --generate flag to automatically create resources with forms and tables:
This creates AuthorResource.php and PostResource.php in app/Filament/Resources/ with automatically generated forms, tables, and pages.
5

Customize the forms

Open app/Filament/Resources/PostResource.php and customize the form:
6

Enhance the table

Update the table configuration to add filters and improve the display:
7

Configure the resources

Add navigation icons and grouping to your resources:
8

Test your admin panel

Create a user if you haven’t already:
Then visit /admin in your browser, log in, and start managing your blog!

What you’ve built

Author Management

Full CRUD interface for managing blog authors with searchable tables and validated forms.

Post Management

Create and edit blog posts with markdown content, auto-generated slugs, and publishing controls.

Relationships

Select authors for posts with searchable dropdowns and see author details in the posts table.

Filters & Search

Filter posts by author and publication status, plus full-text search on titles and authors.

Next steps

Now that you have a working admin panel, explore more features:

Common commands