I lately wrote a tutorial about how to implement Eloquent Effectively, which dives into query courses. This can be my chosen solution, since it ensures that Now we have a negligible level of code duplication.
Here we https://deannawjvk583689.goabroadblog.com/29191160/an-unbiased-view-of-laravel-authentication