Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Laravel from Scratch "Contact App" part 2
Rating: 4.6 out of 5(26 ratings)
1,644 students

Laravel from Scratch "Contact App" part 2

A free course where you learn Laravel from Scratch
Created byBert De Swaef
Last updated 6/2023
English
English [Auto],

What you'll learn

  • Learning the basics of Laravel
  • Learn about CRUD funcionality in laravel
  • Learn about relations in Laravel
  • Learn about Query builder optimalisation

Course content

1 section12 lectures1h 47m total length
  • Many To Many Relationship7:49

    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.

  • Adjusting Stubs (artisan templates)2:53

    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.

  • One To Many Polymorphic Relationship12:33

    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.

  • Many To Many Polymorphic Relationship11:14

    Learn to implement a many-to-many polymorphic relation to attach tags to people and businesses using taggable tables and migrations.

  • Creating and completing Tasks15:01

    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.

  • Syncing Polymorphic Relationships6:53

    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.

  • Working with Scopes3:03

    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.

  • Playing around with Seeders21:00

    Create seeders using factories to generate large sets of dummy data for people, businesses, and tasks; run migrate fresh --seed to populate the database.

  • Pagination7:48

    Learn to paginate tasks, people, and businesses with Laravel’s paginate and links, and display the number of people per business using with count.

  • Observers and sending emails7:45

    Learn to create a Laravel observer that listens for task creation and automatically sends an email using a mailable, with Mailtrap for testing.

  • Creating Custom Commands10:37

    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.

  • Closing...1:16

    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.

Requirements

  • A small understanding of PHP

Description

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.

Who this course is for:

  • Beginners, who would like to learn more about Laravel.