Laravel PHP Framework Tutorial - Full Course for Beginners (2019)

preview_player
Показать описание
Learn Laravel 5.8 by creating an Instagram clone in this full tutorial course for beginners. Laravel is a free, open-source PHP web framework used for creating web applications.

⭐️Course Contents ⭐️
⌨️ (0:00) Introduction
⌨️ (1:14) What is Laravel?
⌨️ (2:07) Installing Laravel
⌨️ (5:30) First look at the project
⌨️ (7:15) Intro to php artisan
⌨️ (11:42) Generating login flow with make:auth
⌨️ (12:04) Setting Up the Front End with Node and NPM
⌨️ (20:00) Migrations and Setting Up SQLite
⌨️ (26:00) Designing the UI from Instagram
⌨️ (42:12) Adding Username to the Registration Flow
⌨️ (58:35) Creating the Profiles Controller
⌨️ (1:04:00) RESTful Resource Controller
⌨️ (1:09:10) Passing Data to the View
⌨️ (1:10:20) Adding the Profiles Mode, Migration and Table
⌨️ (1:17:30) Adding Eloquent Relationships
⌨️ (1:28:10) Fetching the Record From The Database
⌨️ (1:30:00) Adding Posts to the Database & Many To Many Relationship
⌨️ (2:04:24) Creating Through a Relationship
⌨️ (2:08:12) Uploading/Saving the Image to the Project
⌨️ (2:19:19) Resizing Images with Intervention Image PHP Library
⌨️ (2:27:42) Route Model Binding
⌨️ (2:31:48) Editing the Profile
⌨️ (2:46:46) Restricting/Authorizing Actions with a Model Policy
⌨️ (2:54:50) Editing the Profile Image
⌨️ (3:00:00) Automatically Creating A Profile Using Model Events
⌨️ (3:12:56) Default Profile Image
⌨️ (3:31:28) Many To Many Relationship
⌨️ (3:46:33) Calculating Followers Count and Following Count
⌨️ (3:48:55) Laravel Telescope
⌨️ (3:51:44) Showing Posts from Profiles The User Is Following
⌨️ (4:01:03) Pagination with Eloquent
⌨️ (4:03:25) N + 1 Problem & Solution
⌨️ (4:05:21) Make Use of Cache for Expensive Query
⌨️ (4:11:44) Sending Emails to New Registered Users
⌨️ (4:21:51) Wrapping Up
⌨️ (4:22:37) Closing Remarks & What's Next In your Learning

--

Рекомендации по теме
Комментарии
Автор

Hello, I've done this tutorial few months ago and now I'm building an entire commercial website. Thank you very much!

paul_kapela
Автор

Just finished the whole project. For anyone who is starting this project and you are wondering if it is worth it ? It is 100 % worth it, I attended an interview last week that required the candidate to know Laravel, at this point of time, I only had 3 weeks experience in Laravel and I did show them an incomplete version of this project. Long story short, I got an offer from them to join the company.

Update Dec 2020: I never received any notifications from this comment. Hence I apologize for not replying your comments. I still work as web dev mainly in Laravel & Vue & Angular. Currently due to MCO, many companies are hiring for Laravel Devs in my country, hence creating a linkedin profile would be very helpful for you to get jobs. Hope this motivates someone who is doing and watching this tutorial.

fancyAlex
Автор

*### FIX ISSUES ###*
*FIX/TIP (**4:15**) - echo $PATH* does not work under windows (prompt). Instead, you must try just "path" (remove the quotations) on cmd/prompt.

*FIX (**9:38**)* - ERROR "Could not open input file: artisan" when run "php artisan serve": As he said, we must run this command *inside* the project folder.

*FIX (**11:45**)* - make:auth works only on Laravel 5.8 and older versions.* The newer version, try:
1. composer require laravel/ui
2. php artisan ui vue --auth
3. npm install && npm run dev

*FIX (**22:00**) - If you try to use "vim" over Windows cmd:* for Windows users, "vim" should not works. So, being at the project folder, try: copy con database\database.sqlite (press enter, so F6 then, enter again). It will create the file with nothing inside. METHOD 2: re-create this file using a different method, like (under windows os) right-click on the project folder, "create new text file" (but rename the extension txt to sqlite!) and rename it to database.sqlite

*FIX (**23:35**) -* console echoes for php artisan migrate: *"Could not find driver (SQL: PRAGMA...":* Just open php.ini and uncomment extension=pdo_sqlite (or extension=pdo_mysql if you use it).
If this error persists, even after uncommenting extension=pdo_sqlite, with PHP Warning "PHP Startup: Unable to load dynamic library 'pdo_sqlite'". Try fix that by typing:
sudo apt-get install php7.4-sqlite
(Thanks to @Sjors Peterse)

DiegoSayron
Автор

The best tutorial to learn Laravel. He define everything he uses in code and he teaches alot in just one go.
Thank you for teaching us sir.

mansoorburdi
Автор

This is perhaps the best tutorial of any kind I have ever seen. I don't know if it's because I was impressed with Laravel's functionality, or the instructor's delivery. Maybe a combo of both. Everything worked, and everything was clear and concise. It was jam-packed with information, and took me 3 days to get through, and will probably take me another month to fully understand, but, as a tutorial, I was able to understand and follow everything being said and my results matched the instructors. Many real world issues were touched on. The only issues I had on my end was the new auth() functionality, which someone else mentioned. Additionally, I was not using PHPStorm, so, in a couple of places use paths were added within the tutorial that were not automatically added in mine - However, since everything else was so concise, I was able to debug without much issue. All in all, an exceptional beginning course. Five stars. Thank you.

mikegoodsell
Автор

Great tutorial!

Unlike so many intro videos I started but abandoned it is really well paced, nice and fast with very little repetition: perfect for introducing Laravel to people already familiar with PHP, HTML and Bootstrap. Thanks Victor.

andrewaldridge
Автор

I legit have a job now because of this single video. You saved me and my family's life. Thank you so much.

ladenbin
Автор

I'm still at 1:30:00 of the course, but man... I'm really appreciating it and I want to thank you for this absolutely amazing material. Have recommended for all my friends who wants to learn Laravel. For real, thanks for this marvelous course.

lucasvieira
Автор

⭐️Course Contents ⭐️
⌨️ (0:00) Introduction
⌨️ (1:14) What is Laravel?
⌨️ (2:07) Installing Laravel
⌨️ (5:30) First look at the project
⌨️ (7:15) Intro to php artisan
⌨️ (11:42) Generating login flow with make:auth
⌨️ (12:04) Setting Up the Front End with Node and NPM
⌨️ (20:00) Migrations and Setting Up SQLite
⌨️ (26:00) Designing the UI from Instagram
⌨️ (42:12) Adding Username to the Registration Flow
⌨️ (58:35) Creating the Profiles Controller
⌨️ (1:04:00) RESTful Resource Controller
⌨️ (1:09:10) Passing Data to the View
⌨️ (1:10:20) Adding the Profiles Mode, Migration and Table
⌨️ (1:17:30) Adding Eloquent Relationships
⌨️ (1:28:10) Fetching the Record From The Database
⌨️ (1:30:00) Adding Posts to the Database & Many To Many Relationship
⌨️ (2:04:24) Creating Through a Relationship
⌨️ (2:08:12) Uploading/Saving the Image to the Project
⌨️ (2:19:19) Resizing Images with Intervention Image PHP Library
⌨️ (2:27:42) Route Model Binding
⌨️ (2:31:48) Editing the Profile
⌨️ (2:46:46) Restricting/Authorizing Actions with a Model Policy
⌨️ (2:54:50) Editing the Profile Image
⌨️ (3:00:00) Automatically Creating A Profile Using Model Events
⌨️ (3:12:56) Default Profile Image
⌨️ (3:19:48) Follow/Unfollow Profiles Using a Vue.js Component
⌨️ (3:31:28) Many To Many Relationship
⌨️ (3:46:33) Calculating Followers Count and Following Count
⌨️ (3:48:55) Laravel Telescope
⌨️ (3:51:44) Showing Posts from Profiles The User Is Following
⌨️ (4:01:03) Pagination with Eloquent
⌨️ (4:03:25) N + 1 Problem & Solution
⌨️ (4:05:21) Make Use of Cache for Expensive Query
⌨️ (4:11:44) Sending Emails to New Registered Users
⌨️ (4:21:51) Wrapping Up
⌨️ (4:22:37) Closing Remarks & What's Next In your Learning

UnboxSolutions
Автор

Can't stop watching... makes you feel like a wizzard... even when you just follow the steps of the master ;-)

benjaminshpigler
Автор

Might just be the single best programming tutorial I've ever watched start to finish. Well done mate.

xteclisx
Автор

am so impressed as a young developer who's still in school, i followed this tutorial and i really built something amazing. thanks to Victor you're really awesome. thanks so much

vincentkhamala
Автор

In Laravel 6.0 make:auth no longer exists:php artisan make:auth ( which works for Laravel 5.8 and older versions )
Solution:
Run :composer require laravel/ui
php artisan ui:auth
You can also generate the views only with:
php artisan ui:auth --views

manishfoodtechs
Автор

OMG! Thank you for this Tutorial, i have been going back and forth with learning Laravel, since the first time I tried to get it loaded, from NPM to Composer and nothing was working for me and I couldnt get Laravel loaded. So after a couple of months of getting up to speed with more PHP and command lines I came across this video and within the first 25Mins I had Laravel loaded and up and running. You ROCK Man!! Thank you for expertise sir, very much appreciated.

cedricreed
Автор

Wow, Victor, this is the most greatest howto video in the web! Your lesson extremely fast gives all of info that is really needed.

Awesome!

sebot
Автор

This video saved my project! Thank you so much. I spent weeks trying to find a book or docs on how to get started with Laravel (like you would expect with a "For Dummies" book complete with working examples), but everything I found didn't have working examples, or wandered around in circles, or gave snippets of examples none of which works. Out of desperation I came to YouTube and found this video.

I was able to start from scratch and work through this video in less than a week, and within a few days I have my prototype up and running. I never used Laravel before, only had a little bit of PHP experience. Awesome!

UnderTheGoldenGate
Автор

Wow. This is by far the best tutorial for anything I've ever followed - and I've followed a lot of tutorials in very different genres. I like the pace, the way things are explained at exactly the right time etc.


I followed this video using Notepad++ rather than PHP Storm, and had no issues at all.

JakobDam
Автор

This was my first intro to laravel and I followed the whole project through. Incredibly well explained! Thanks

anon
Автор

You rock, Man! You made I fall in love to PHP + Laravel after 32 years programming in client-server languages.
I must continue my studies at 38:23

DiegoSayron
Автор

I've just spent this day completing this tutorial and doing some research. It was a great, thank you! I'm much more confident with Laravel now.

Jackerz