
Create a many-to-many relationship between businesses and categories in Laravel by adding a business category model, a pivot table, and defining belongsToMany relations, then test in the index view.
Publish and customize artisan stubs to tailor model and migration templates, add soft deletes for a tag model, and prepare for polymorphic relation to attach tags to people and businesses.
Explore how to implement a polymorphic one-to-many relationship in Laravel by linking tasks to either a person or a business, with migration, models, and views.
Learn to implement a many-to-many polymorphic relation to attach tags to people and businesses using taggable tables and migrations.
Create and manage tasks in a Laravel contact app by adding grid-based task records for businesses and people, marking tasks as completed, and using a polymorphic one-to-many relationship.
Bind tags to businesses and people via a many-to-many polymorphic relationship and sync the tags array from the request to create, update, and persist selections.
Define a scope called open to fetch tasks where status equals to open, and use it in the controller to show open tasks. Completed tasks remain accessible in detail pages.
Create seeders using factories to generate large sets of dummy data for people, businesses, and tasks; run migrate fresh --seed to populate the database.
Learn to paginate tasks, people, and businesses with Laravel’s paginate and links, and display the number of people per business using with count.
Learn to create a Laravel observer that listens for task creation and automatically sends an email using a mailable, with Mailtrap for testing.
Create a custom artisan command to find birthdays within five days and display matching people using carbon date checks. Schedule it to run daily at 8 a.m.
Master core Laravel concepts in this beginner course closing, including models, controllers, one-to-many and many-to-many relations, polymorphic relations, custom commands, and observers. Future videos cover caching and advanced topics.
In this video series, we'll be building a Laravel application from Scratch.
This course is built for those developers starting with Laravel, but it can be a guideline for the more seasoned developers also, they may take a few things here and there, which they may have forgotten over time.
You'll learn how to install Laravel, create your first Model, your first Controller, and migrations. We will also create the linkage between models and controllers with Route Model Binding.
You'll also learn about relations, from the basic and simple "One To Many" relationships over "Many To Many" relationships and even about Polymorphic Relationships.
Throughout this course, we'll be combing all of the above in an application where we'll be using all the CRUD functionalities with the needed optimisations like Eager Loading, Scopes, and many more.
We'll be creating custom commands and learning about the scheduler that Laravel provides for us, to automate processes. And notify users with emails, based on the basic behaviours of the application where we'll be using Observers to catch the actions and trigger our emails within...
In this part, we'll go through the second batch of videos in this series.
If you have any questions feel free to contact us via Udemy's messaging system.