Filament May Have Saved My Life

How I found Filament

It was another ordinary day at work, having a meetup with the team, when suddenly a coworker starts talking about a certain “Filament”. I start paying attention to the conversation, he then starts sharing his screen and asks the question “How do you think I built this UI?” We start speculating without success and he says the magic word again: “Filament”.

From then on, it was nothing but success. I started studying the official documentation, I looked for YouTube channels, I saw some articles, and I completely transformed a freelance web system that I had made for a friend, into a system with a much better and responsive frontend.

Responsive Frontend

Filament is a collection of fullstack components that allow you to quickly and easily develop your administrative panel within the Laravel framework.

It already provides you with user authentication, for example, and even dark mode!

Getting started

1composer require filament/filament:"^3.2" -W
2php artisan filament:install --panels

Provider

At this point, a new Laravel Service Provider will be created:

1app/Providers/Filament/AdminPanelProvider.php

It will be responsible for initializing and configuring a Filament Panel. You can have many Panels. Or no Panels. But I highly recommend starting by building a Panel; it's where all of Filament's features shine together.

Logging In

Next, create a Filament user by running:

1php artisan make:filament-user

This will let you configure a login and password for a new user account.

After you've done that, open /admin in your browser, log in and start developing your application!


This is just the very basics of how to create a Laravel application that using Filament.

There are still many other possibilities, thanks to Filament's rich feature set. For example it comes out of the box with data exporting, filtering, search, and much more. And then there's a huge plugin directory with loads of awesome third-party plugins available.

If you haven't looked into Filament yet, I highly recommend you take a few minutes to play around with it in a new Laravel app. Like me, I think you'll be pleasantly surprised.