Skip to main content

Multiple Panels: Admin and Accountant

Premium
4:04

The Full Lesson is Only for Premium Members

Want to access all of our courses? (36 h 00 min)

You also get:

61 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Stephan Apenbrink avatar

Just a question, if I have to use the same (or part of) ressource in a User and Admin Panel (one only editing own data and one for all) is it possible to move the files from Filament\Resources to Filament\Resources\User or are there any dependencies ? I would use it with Spatie/laravel-permission (still learning about it).

Nerijus avatar

Yes, keepings all resources in the panels folder will work and will be cleaner.

Ivan Aqn avatar

How can I make a unique login page and depending on the user role redirecto to the corresponding panel ?

Nerijus avatar

For the redirect we have a tutorial: https://laraveldaily.com/post/filament-disable-dashboard-auto-redirect-url-after-login There's also more then one videos on youtube on this topic. For the unique page a custom theme.