Filament admin
Best Laravel Admin Dashboard ?
I am taking long time using html admin templates in laravel projects. I am wondering If there are dashboards make it fast and dynamics and provide all needed options.
I heard about voyager. is it the best one ? any recommendations ?
@shaungbhone Yes and no.
I used it for one small project. At the start, the Filament was so helpful! I was impressed, but when I needed a bit more complicated things, the Filament is a brake :(
@cleargoal Detail please.
oops, I didn't see your question earlier. Here is one of the problems:
The project has models User and Contribution (among others). Contribution contains fields 'amount' and 'percents' (among others). The User has a Relation
public function lastContribution(): HasOne
{
return $this->hasOne(Contribution::class)->latestOfMany();
}
When I try in UserResource table to sort using 'lastContribution' like
TextColumn::make('lastContribution.percents')
->view('tables.columns.percents')
->label('Доля %')
->width('5rem')
->alignment(Alignment::Center)
->sortable(),
or the same with 'amount' it doesn't work without any errors.
So, I was forced to create an extra field in the 'users' table that is 'actual_contribution' and fill/update this field with data whenever I add a record to the 'contributions' table. Then I did sort like this
TextColumn::make('actual_contribution')
->money('USD', divideBy: 100)
->width('5rem')
->alignment(Alignment::Center)
->label('Розмір внеску')
->sortable(),
that looks like a crutch.
Also, I had a problem with default sorting.
@shaungbhone on the other hand, a lot of other related data is sorted without problems.
@cleargoal if you get a problem. The filamentphp has discord channel and github.
@shaungbhone I asked many questions at the Filament's GitHub discussions. I get a few answers.
@cleargoal Yeah, I will help drop the links.
https://athemes.com/collections/best-laravel-admin-templates/
https://www.dunebook.com/best-laravel-admin-panel/
https://retool.com/blog/best-laravel-admin-panels/
I honestly can find 2...
-
Novafor Official Support (Paid) -
Filament Admin(Open source) (v2 early stage)
Another vote for Filament.
@ebrahemsamer If you are a fan of TALL Stack, I believe the Filament is one of the best choices.
Another option is Laravel AdminTW is a TALL admin theme (I wrote it)
Laravel TALL AdminTW is a minimal Livewire theme styled with TailwindCSS.
Laravel AdminTW supports both light and dark mode based on the user's OS.
Provided are blade and Laravel Livewire components for common layout / UI elements and a complete test suite (Pest PHP).
Out of the box AdminTW provides:
UUID all ids uses UUID's instead of primary keys Multiple Users with an invite system 2FA user opt in and a system wide 2FA enforcement option Audit Logs - track every action Global Search - search any model Livewire components Blade components Roles & Permissions - set that a user can and cannot do Unit and Feature Tests Dark mode support Read more at the official website https://laraveladmintw.com/
+1 for filament
Filament is great!
It really depends on what your preferences and needs are.
The most popular Laravel admin panels in 2024 are:
- Filament - Tailwind, Alpine, Livewire, Laravel
- Laravel Nova - Tailwind, Vue, Laravel
- Backpack for Laravel - Bootstrap, Laravel, jQuery
If you already have an HTML template like you said, and want the admin panel to use that, Nova is not a good fit. So you're left with Backpack and Filament. Afterwards the decision is simple:
- If your admin panel is Bootstrap, then Backpack.
- If it's Tailwind, then Filament.
Hope it helps!
Are you the author or co-author of Backpack?
Your avatar looks like the guy on the picture at 1st page of the Backpack website.
@cleargoal then he should know what he is talking about!
@cleargoal yes I am.
@Snapey I actually do know what I'm talking about haha... In fact, I don't think anyone's as obsessed with Laravel admin panels as I am. I'd write articles to tell people about the Laravel admin panel landscape... I have SO MANY thoughts on it. But I never thought anybody would be interested...
@tabacitu Do you plan to rewrite your product without jQuery?
Cannot install Filament with Laravel 11.
I would not recommend Filament in a panel which has a lots of user, it will put unnecessary pressure to the server.
Because it will call an ajax request to server everytime someone wants to open a simple bootstrap modal or a sidepanel,
In this types of case vue or react will be better choice,
But if the admin panel used by superadmin or not so many people, then Filament can be a good option
Curious, why isnt anyone mentioning Voyager, despite author mentioning about wanting something fast.
Could be a good option for his case without knowing the details, right?
@abdulazizhamdan Why is no one mentioning Voyager? Perhaps because that website you linked to has a copyright of 2021. That's a red flag to me.
Filament is fast and lightweight, easy to use, highly customizable, free to access, and has a strong community. I use it and recommend it!
Please or to participate in this conversation.