Building relationship is the smoothest process in laravel’s architecture.
There are 4 easy way to build relationships in laravel.
Four of those methods are hasMany, hasOne, belongsTo, belongsToMany.
Further more, we can use eloquent queries right here to further narrow down the results
Cool, isn’t it.
Everything is awesome.