Mastering Laravel 10 Query Builder, Eloquent & Relationships (Udemy.com)
From ZERO to Hero Using Migrations, Factories, Seeders, Query Builder, Eloquent ORM, Relationships & Polymorphism!
Created by: Dary Nazar
Last updated April 2023
What you will learn
- Laravel's database configuration
- Learn to work with Migrations
- Learn how and when to use Seeders
- Learn how and when to use Factories
- Understand the Laravel Query Builder
- Learn how to construct SQL queries using the Query Builder
- Learn how to use the Query Builder to perform CRUD operations on the database
- Understand how to use the Query Builder to build complex queries with conditional logic and dynamic filters
- Laravel databases and Eloquent ORM
- Learn how to use Eloquent to create, read, update, and delete records
- Learn how to use Eloquent correctly to query data from the database
- Learn how and when to use relationships
- Learn how to use Eloquent to query polymorphic relationships
- Learn Eager Loading vs Lazy Loading
How it compares
Against the other 60 rated Udemy courses in Laravel on CourseDuck:
- Rating4.4 out of 5higher than 28% of them
- Reviews156#41 of 61 by number of reviews
- Length7.4 hoursshorter than 66% of them
- Last updatedApril 2023more recently than 53% of them
Course Description
Are you struggling with Laravel databases and Eloquent? Do you want to learn how to easily manage your database with migrations and seeders? Look no further than Code With Dary's "Mastering Laravel Databases & Eloquent" course on Udemy! This comprehensive course covers the ins and outs of Factories, Seeders, Migrations, Query Builder, Eloquent, and relationships in Laravel 10. With Code With Dary's expert guidance, you'll learn how to efficiently manage your database and build powerful, scalable applications. Don't miss out on this opportunity to take your Laravel skills to the next level - enroll in "Mastering Laravel 10 Query Builder, Eloquent & Relationships" today!
What is Laravel?
Laravel is the go-to PHP web application framework for developers. With its extensive set of features and tools, Laravel enables developers to create web applications in a fast and efficient manner. One of the standout features of Laravel is its powerful database management system, which runs on top of the Eloquent ORM. Using Laravel and Eloquent, developers can seamlessly perform CRUD operations on the database, as well as execute complex queries with ease. Learning Laravel and Eloquent is a must for any PHP developer who needs to build modern, scalable web applications with confidence.
Why is Laravel so popular?
Laravel is popular because it provides developers with a powerful set of tools and features that make it easy to build modern, scalable web applications. It has a robust database management system that runs on top of the Eloquent ORM, which allows developers to easily perform CRUD operations on the database and execute complex queries. Laravel also has a large and active community of developers, which means that there are many resources available for learning and troubleshooting. Additionally, Laravel is easy to learn and use, which makes it a great choice for developers of all skill levels.
Who is this course for?
Some people may find Eloquent ORM difficult because it has a lot of features and can take time to fully understand. Additionally, working with complex relationships between database tables can sometimes be challenging. However, with practice and experience, developers can become proficient in using Eloquent to manage databases in Laravel applications. This course will teach you everything in depth about Laravel databases, Query Builder, and Eloquent! I do expect you to have knowledge in Laravel before starting this course, since we’re going to focus purely on databases and eloquent.
Tools we will be using
We need to use a code editor for this task. It doesn't matter which one you use. I prefer using tools such as Ray from Spatie and Tinkerwell from BeyondCode. Both products are paid, but not required for this task. I use them in this course to make data outputting easier and to show you query speed, which can be compared to other queries.
Instructor Details
- 4.4 Rating
156 Reviews
Dary Nazar
Hi and welcome to my Udemy page! My name is Dary Nazar and I've been coding professionally and for fun for over seven years now. Currently, I work as a freelance backend developer, helping startups and large corporations build and scale projects that use Laravel or PHP.
Three years ago, I discovered a second passion: making tutorials to help others pursue their dreams. I started a YouTube channel named 'Code With Dary' that has over 44.000 subscribers and 4 million views on topics such as PHP, Laravel, Symfony, Tailwind CSS, and more.
Since I started creating YouTube tutorials, it's hard to label myself. When people ask me what I do, I say that I'm a developer and educator who creates online programming courses to help anyone interested in learning web development.
My goal is to make complex topics as easy as possible by explaining them to you in a simple and understandable way.
More courses by Dary Nazar
PHP & MySQL course for absolute beginners | Become a PHP pro (2020)
4.5 (2,031 Reviews)
Provider: Udemy
Time: 7.6h
Free
More Laravel courses
PHP with Laravel - Create a Restaurant Management System (2020)
4.8 (313 Reviews)
Provider: Udemy
Time: 9.6h
$74.99
Laravel - Build Real Estate Property Listing Project A-Z (2026)
4.8 (297 Reviews)
Provider: Udemy
Time: 47h
$79.99
Laravel - Online Hotel Booking Platform (A to Z) (2026)
4.8 (145 Reviews)
Provider: Udemy
Time: 37.5h
$64.99
Laravel 7 for Beginners practical course (2020)
4.7 (505 Reviews)
Provider: Udemy
Time: 11.1h
$64.99
Reviews
By Alexander van Nieuwkoop on 1/11/2025
The course helped me get an indepth view of the laravel database options including The Query Builder, ORM & Relationsships, within a day of watching. This was exactly what I was looking for and I am very happy with the knowledge I gained.
By Paul Brugger on 7/30/2024
This did do the job of clarifying Query Builder and Eloquent ORM for me. I don't think Tinkerwell was necessary and I felt distracted. Yes, a workaround was not too hard. There were numerous times when he would show code on the screen but not demo it. This was because it did not work. I commented with fixes for these. There were some sequencing problems, particularly with lesson 82 and 84. Section 9 was quite messy with the repo code getting ahead of what was shown in the video. I thought a lot of these frustrations were unnecessary. But I did learn how to access and modify data so I got my money's worth.
By Brett Roscoe on 5/13/2024
Overall the course was good and helpful, providing a detailed overview of the query builder as well as Eloquent ORM relationships. I also fairly enjoyed the blog project at the end of the course. There are a few issues: the instructor doesn't seem to respond anymore to questions and comments in the Q&A forum; video 83 is out of place, but even though this was pointed out in the Q&A forum eight months ago, it hasn't yet been fixed; and sometimes the quiz questions have not been constructed well. It would also be nice to see more advanced queries in the final project (maybe with searches and filters?), but again, I think it is a good course and helpful for those who want to brush up on their Laravel skills.
By David Franklin on 4/13/2024
Fantastic explanation of the numerous ways to create, interact with, and extract data! This focused deep dive into Laravel's powerful range of query options has significantly improved my understanding not only of the How/Why/When options available, but also exactly What is returned and thus how to extract and present that information efficiently. The use of Tinkerwell was inspired! Excellent tool for following your lectures - and also for practicing and experimenting afterwards. To see the structure of exactly what is returned in such microscopic detail has been invaluable. Thoroughly recommend this course and thank you Dary for creating it!
By Gabriel Nicula on 9/11/2023
I am a php full stack web developer with 7 years of experience. When I learn something new, I buy several tutorials on udemy until I find the person who explains and shows as clearly as possible. I bought 5 laravel tutorials and this tutorial plus another one on the udemy platform are the best! I don't really write and give reviews, but this tutorial really pleased me because the explanations are clear and time is not wasted. I would have liked to have a section about the Route class.
By Andrei Boulter on 8/13/2023
Good overall, a bit disappointed with the final project.
By Edgars Trubačs on 6/4/2023
Amazing course to refresh Laravel fundamentals especially Query Builder vs Eloquent ORM. Enjoyed the course and the quizzes after each section. Keep up the good work, Darry! I follow you for some time on Youtube already and always enjoyed your content. Just a small remark, I think lecture 84 should be placed after lecture 81. Have a nice day!
By Darwin Padrino on 5/11/2023
Excelente explicación de los métodos, parámetros y acciones desde el punto de vista de back end para Laravel. Lo recomiendo al %100. Va directamente al grano, es totalmente preciso y funcional. No tiene pérdida de tiempo alguno. Congratulations...!
By Peter Maas on 5/10/2023
The course is great and easy to follow. The duration of each subject is small so you can view every day a couple of them. Keep up the good work Dary ! One remark: item 47 is placed after examen 5 that should be before the examen in section 5
By Matthijs de Grip on 4/14/2023
I highly recommend this course, if you want to get better in Laravel 10 query builder, eloquent and relationships. The instructor is knowledgeable and engaging, and the course material was well-structured and practical. It's definitely worth the investment.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 88 / 100







