mrkarma4ya
2 weeks ago

What's a good way to learn parent/child relationships in Laravel?

Posted 2 weeks ago by mrkarma4ya

I want to create a 'Comment' feature in my website that allows replying to other people's comments and so on, and they are displayed in a 'nested' way. What's the best way to learn how to do it?

I found a tutorial here: https://serversideup.net/eloquent-parent-child-relationship-laravel/

But it was written in 2017, so things might have changed in newer Laravel versions. Is there a decent recent tutorial on this?

Please sign in or create an account to participate in this conversation.