Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

BelongsToMany: Multi-Select and Relation Managers

Premium
4:56

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

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

Already a member? Login here

Comments & Discussion

SP
Steve Popoola ✓ Link copied!

The actualy command to run the migration is missing. This may stump new devs or those who are just curiously following the tutorial

PK
Povilas Korop ✓ Link copied!

I agree if it was a tutorial about Laravel and Eloquent, but this is a Filament course, and I expect developers to be familiar with Laravel and how to run migrations, if they want to learn Filament.

SP
Steve Popoola ✓ Link copied!

That makes sense if the target audience is for Laravel devs. Thank you

M
Modestas ✓ Link copied!

Filament is based on Laravel, so there is an assumption that the target audience knows Laravel before diving into Filament.

PK
Povilas Korop ✓ Link copied!

To be "on the safe side", I added those lines about php artisan migrate to the lesson.

B
Balazs ✓ Link copied!

re Option 2 - tutorial says the Relation Managers for Tags table should show below Product create/edit form and it appears on edit form bot not on create. What am I missing?

JG
Jakub Gwiazdowski ✓ Link copied!

good question, I expected it on create page as well, can't really google a good answer, but AI says that it needs an existing record, to in this case - attach tags to, so make sense that's relation manager is only available on edit

KV
Kevin Verde ✓ Link copied!

As is, the relationship manager experience is not good. You have to know the tags name and search for it to 'attach'. A user will likely attach duplicate tags. Perhaps there is a better way?

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.