
Set up a new Laravel project from scratch, install Breeze, configure the .env database, run migrations, and start building a contacts app with controllers and models.
Create a person model with a migration and factory, add soft deletes, and migrate the people table; seed seven records using the factory and create.
Create your first Laravel controller with Artisan, bind a model to routes, and configure a resource route group for a contacts app, showcasing index view and basic CRUD setup.
Implement create, read, update, delete for a person resource in a Laravel app, including index with table, routes for create, store, edit, update, destroy, with route model binding and validation.
Create a new business model and its migration with soft deletes. Add a nullable business_id to the people table to link businesses to people, then set up a factory.
Define a one-to-many relationship between business and person in Laravel, using hasMany and belongsTo, test with tinker, and display related business name in people list with a null-safe operator.
Learn how to relate people to businesses in a Laravel contacts app by adding a business select to create and edit forms, storing and updating a business_id.
Discover how to optimize Laravel queries with eager loading, reduce database calls, and implement default eager loading for businesses alongside building basic CRUD for contacts.
Create a custom request to clean up controllers by moving validation into a reusable business request. It covers authorization, shared rules for store and update, and fillable mass assignment.
Explore how deleting a business affects related people, using the null safe operator and with trashed to show trashed related data and deleted_at timestamps in Laravel.
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 first 10 videos of the series.
If you have any questions feel free to contact us via the socials.