In this 16 minute video, I'll show you 5 simple tips and tricks that you can use to enhance your Laravel Eloquent queries, saving time and helping to clean up your code.
Join my newsletter for weekly tips on Laravel + Docker: https://aschmelyun.substack.com
You'll learn:
- How to build a query on the fly using conditionals
- How to use whereHas to filter out relationships by nested values
- How to create a dynamic attribute and automatically inject it in returned models
Follow me on Twitter! https://twitter.com/aschmelyun