Laravel for Beginners - Learn Laravel 11 Fundamentals, from Scratch, in 1 Hour
Dave Hollingworth Dave Hollingworth
24.5K subscribers
3,877 views
0

 Published On Jun 6, 2024

Learn how to use the Laravel PHP MVC framework.
Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth

In this project-based tutorial, code along with the instructor to create a basic application that covers creating, reading, updating and deleting records (CRUD) in Laravel.

Topics covered:
• Installation
• Running the built-in webserver
• Basics of MVC
• Views
• Facades
• Generating code with Artisan
• Helpers
• Controllers
• Routing - route parameters, named routes, resourceful routing
• Blade templates
• View components
• Database migrations
• Models
• Eloquent object-relational mapper
• Requests and responses
• Validation
• Route model binding
• Method spoofing
• Flash messages
• Pagination

Source code:
‣ https://github.com/daveh/laravel-crud...

Links shown in the video:
‣ https://www.apachefriends.org/
‣ https://getcomposer.org/
‣ https://code.visualstudio.com/
‣ https://github.com/laravel/laravel
‣ https://laravel.com/docs/

Images used:
‣ https://www.flaticon.com/free-icons/d...

00:00:00 Introduction
00:00:26 Software
00:00:47 Installation
00:02:38 Local development server
00:03:14 How the framework works
00:04:34 Routing
00:05:20 Facades
00:05:34 Laravel Hello World
00:06:19 Views
00:07:06 Generating files with Artisan
00:07:54 Hello World View
00:08:22 Helpers
00:08:42 Controllers
00:09:53 Action methods
00:11:26 View routes
00:12:21 Named routes
00:13:07 Blade templates
00:14:01 View layout components
00:15:37 Classless stylesheet
00:16:20 Configure database connection
00:17:37 Migrations
00:22:40 Models
00:27:20 Blade view syntax
00:28:13 Laravel Debug Bar
00:29:07 Inserting data
00:30:47 Getting request data
00:32:05 Saving data
00:32:45 CSRF protection
00:33:39 Saving data more simply
00:34:05 Mass assignment
00:35:29 Validation
00:38:50 Viewing individual records
00:45:44 Route model binding
00:47:59 Editing existing records
00:54:10 HTTP method spoofing
00:54:57 Form request classes
00:58:24 Deleting records
00:59:37 Flash messages
01:01:14 Pagination
01:05:15 Route groups
01:07:55 Resource controllers
01:11:10 Summary

#PHP #laravel

show more

Share/Embed