Laravel for Beginners - Learn Laravel 11 Basics in 1 Hour

preview_player
Показать описание
Learn how to use the Laravel PHP MVC framework.

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:

Links shown in the video:

Images used:

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
Рекомендации по теме
Комментарии
Автор

At last!! Just in time! Dave Hollingworth is an honest man and a serious and very well organized instructor in Udemy and elsewhere with a unique and rare teaching talent. I am saying this from my experience as a student in his courses. He is always there ready to offer his advice to students's questions. Dave please keep up in creating good courses!

panagiothsadam
Автор

Wish we could have a full Laravel course from you Dave. Best teacher ❤

MahdiMGH
Автор

Finally... Whoever is looking for the best Laravel tutorials must stop here. Dave is the best teacher I've ever seen, whether on the internet or in college. As for the course, it's extremely solid and clear; this video is the perfect starting point for quickly learning Laravel basics. For experienced individuals, it's a must-watch before a job interview to brush up on basic concepts, which most people forget about when they dive into the deep.

I've completed most of the Laracast courses and have been working with Laravel for almost two years. However, I'm definitely going to follow all of your Laravel courses from zero to hero. It's a privilege to learn from you. I hope there will be another one at an intermediate level which covers policies, middlewares, mutators, stubs, maybe multi-tenancy, and more. Thank you very much.

sametkaya
Автор

You're my favourite teacher, Dave. Thank you for this tutorial.

inamrasluzd
Автор

Thanks for another one Dave. It was good to take a break from your 'build a MVC like a pro' tutorial and chill out to this one for a while. The router class is taking my soul.

Interaus
Автор

I am so Excited, I am currently going through your PHP courses you have on Udemy, finished the PHP-MVC framework course and loved it. I am so excited to start learning using a commercial framework. I was thinking on doing Symfony, but since you have this Laravel tutorial, I will definitely be starting with Laravel instead.

You are the best Teacher I have ever had for PHP, I love your style and your organization.

Thanks for all you have done!

marktuggle
Автор

Another gem of knowledge, real quality content. I would love a complete Laravel Course just like your CodeIgniter Course, your One-of-a-Kind teaching skills should be leveraged by many in the web dev world. ¿Did I say THANK YOU very much?

joel-rgxm
Автор

Right now i was struggling with laravel and i was wishing you had laravel course bcoz i can understand your teaching well then i see notification of this video.🎉🎉 Im happy. I hope you continue laravel courses, its really confused for beginners i feel lost

Ahmett__
Автор

Brilliant presentation as always! I've watched almost all of your courses on Udemy. You are by far the best teacher!!!
It would be nice if you explained login, logout authorization, authentication, middlewares and user roles along this. Even better create a course for this on Udemy!!!!

panos
Автор

Outstanding as always Dave. Thank you yet again. Your ability to use precise verbiage during instruction is priceless. I also very much appreciated the updated MVC class on Udemy. I am hoping you will be following both of these up with instruction on registration and login within their respectful frameworks! Cheers!

kazzbeast
Автор

This video is top class. I have never seen this type of video about laravel. This is the best video to learn laravel basics. Thank you so much for making this video . I hope you make the next video about advanced laravel like auth and so on . I'm waiting for the next one.❤❤

viralbif
Автор

Third course i watch on laravel and this is by far the most concise and simply explained one. Everything covered smoothly and step by step, thank you sir, got yourself a new subscriber

migueloliveira
Автор

Great tutorial. It would wonderful if do another advance laravel tutorial

ElectroTechKh
Автор

Thanks a lot 😀😀 could we hope for a full Laravel course💯?

MohammedAly-jvdm
Автор

Superb tutorial. Easy to follow. Good tips on what are the best practices. And I love how you start with manually building functionality and then slowly showing how to automate using artisan. You requested tips on additional tutorials. Based on this video, I would like to see stuff like: making relations between models and fetching them. For example, a post with a list of comments and then for each comment information on that user. Also best practices surrounding login/logout and validation. Multi-language forms. Perhaps even multi-tenancy. Hope you will create more videos of this quality. Thanks for sharing the knowledge.

whjvandijk
Автор

You are one of my the most favorite instructor.

kurshadqaya
Автор

Brilliant Presentation. Will make sure I complete this class

jymoshepherd
Автор

Thanks Dave for this tutorial, and for your all wonderful tutorials. You requested tips on additional tutorials. Based on this video, I would like to see "Complete Laravel tutorial" if you please!

mohammedaly
Автор

Thanks alot, very very informative. Thumbs up.

derickasane
Автор

Thank you for the Lesson !! really appreciate it

unknownguy