Laravel From Scratch 2022 | 4+ Hour Course

Traversy Media

Learn the Laravel PHP framework from scratch by building a job listings application with Laravel 9 and MySQL.

⭐ Sponsor:
https://linode.com/traversy

💻 Github Repo:
https://github.com/bradtraversy/laragigs

💻 Gists:
Laravel Valet Setup:
https://gist.github.com/bradtraversy/b58f74cd863a465068eaeaae1544d9be
Laravel Xampp Setup:
https://gist.github.com/bradtraversy/7485f928e3e8f08ee6bccbe0a681a821
MySQL Cheat Sheet:
https://gist.github.com/bradtraversy/c831baaad44343cc945e76c2e30927b3

💻 My Courses & More
https://traversymedia.com

👇 PHP OOP MVC Udemy Course:
https://www.udemy.com/course/object-oriented-php-mvc

💖 Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia

👇 Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy

Timestamps:
0:00 – Intro
1:30 – Linode Sponsor
2:13 – Project Demo
6:21 – Setting Up Laravel
13:50 – Routing & Responses
19:28 – Wildcard Endpoints
20:16 – Route Constraints
21:06 – Die Dump Helpers
22:30 – Request & Query Params
26:26 – API Routes
28:26 – View Basics & Passing Data
32:36 – Blade Templates & Basic Directives
36:42 – Creating a Basic Model
43:46 – Database Setup & Config
46:03 – Create Database & User
48:44 – Creating Database Migrations
52:44 – Running Migrations
54:06 – Database Seeding
58:29 – Create an Eloquent Model
1:02:49 – Creating a Factory
1:07:18 – Creating a Layout & Sections
1:09:54 – Adding the Theme HTML
1:19:02 – Template Partials
1:22:54 – Single Listing Formatting
1:26:00 – Route Model Binding
1:28:18 – Blade Components
1:32:53 – Component Attributes
1:35:20 – Tags Component
1:40:38 – Controllers
1:44:09 – Resource Method Naming
1:46:34 – Using a Layout Component
1:49:08 – Tag Filter
1:57:31 – Search Filter
2:01:29 – Clockwork Package
2:04:05 – Create Listing Form
2:10:39 – Validation & Store Listing
2:23:30 – Mass Assignment Rule
2:27:20 – Flash Messages
2:32:49 – Alpine.js For Message Removal
2:36:33 – Keep Old Data In Form
2:38:46 – Pagination
2:45:20 – File Upload
2:57:24 – Edit Listing
3:09:16 – Delete Listing
3:13:32 – User Registration
3:30:00 – Auth Links
3:32:46 – User Logout
3:37:20 – User Login
3:47:02 – Auth & Guest Middleware
3:51:30 – Relationships
3:59:05 – Tinker Tinkering
4:01:35 – Add Ownership to Listings
4:05:31 – Manage Listings Page
4:14:22 – User Authorization