Laravel Crash Course

preview_player
Показать описание
This is a Laravel crash course that covers installation, authentication, routes, data, pagination, email functionality and much more

- Visit Codecourse for more videos & courses by Alex:

- YouTube Channel:

- Code:

- Social Links:

- Links mentioned in course:

Timestamps:
00:00 Introduction
01:49 Demo
04:23 Installing and setting up Laravel
07:08 Routes, views and layouts
10:35 Laravel Mix and Tailwind
15:18 Styling the layout
17:35 Running migrations
22:57 Registering users
44:06 Signing in after registration
46:46 Authenticated state
48:30 Logging in
53:47 Logging out
57:52 Middleware
01:06:12 Post form
01:09:26 Setting up posts
01:16:06 User/post relationship
01:18:49 Creating a post
01:20:14 Listing posts
01:27:37 Pagination
01:30:31 Seeding with model factories
01:33:54 Liking and unliking posts
01:48:50 Eager loading
01:53:40 Deleting our posts
01:56:46 Authorization
02:02:47 User profile page
02:06:49 Blade components
02:10:54 Like count Eloquent relationship
02:12:41 Single post page
02:14:18 Sending email
02:21:23 Soft deleting models
02:26:31 Final tidying
02:28:20 Wrapping up
Рекомендации по теме
Комментарии
Автор

It is a pleasure to have Alex on. He actually taught me a good chunk of my PHP knowledge way back in the day when he ran under "PHP Academy". Thanks Alex :)

TraversyMedia
Автор

Dude I remember learning PHP from your tutorials under PHP academy channel back in early 2014. About 6 months later I got myself a first job as a PHP developer which kicked off my IT carreer. Forever grateful! Now here I am almost 7 years later learning new things and found you again. Awesome :)

ffrak
Автор

I can't believe i watched 2, 5 hours of coding in one sitting. Just amazing how thrilling and at the same time pleasant this course is done by Alex. Many thanks!

Redragon
Автор

Alex is such a good teacher. His explainations are so simple and easy to understand. Brad please want more of Laravel and Vue content from your channel....plzzz

kadershaikh
Автор

Laravel is a joy to code with.
Once you understand the MVC part of it it's super easy and fast to do anything you can imagine.

Stoney_Eagle
Автор

Alex is a HUGE part of my early learning. Be hard to find anyone better!

Knards
Автор

If you're having an issue around @12:50 - @13:20 using "require('tailwindcss')" and then trying to run "npm run dev"

-- Tailwind CSS 2.0 requires Laravel Mix version 6 (which is currently in a beta state)
-- You can check which versions you have installed in the package.json file
-- If you've noticed that Tailwind CSS version is 2 or higher and Laravel Mix is 5 or lower, you can try the following:

0) You have already typed: require('tailwindcss') into the webpack.mix.js file
1) In the terminal type: npm remove laravel-mix
2) Terminal: npm install laravel-mix@^6.0.0-beta.14 --save-dev
3) Optional Terminal (probably isn't necessary, but wont hurt): php artisan config:cache
4) Terminal: npm install
5) Terminal: npm run dev

That should get you back on track

PixiiBomb
Автор

I was really looking forward to get an up to date Laravel course from Brad, but I must say this instructor is really really good and is explaining everything with precise detail. Respect and thumbs up!

furomin
Автор

Thank you sir for the nice and concise series in laravel 8.

To avoid manual importation of classes, I use NameSpace Resolver extention(vscode).

Other extensions that make laravel easy in VSCode include :-

Laravel blade snippet
Laravel snippet
Laravel spacer

kachicelestine
Автор

Damn... This was the first web dev course I have ever finished watching and follow through and that makes me feel accomplished :)

FacePlat
Автор

Just completed this course now (3 days learning). Thank you very much Traversy and sir Alex for very well precise explanation. I really learned a lot here, just right to my new work. God bless you there bro

edpogi
Автор

As a primarily front end dev who hasn't worked with Laravel for at least a year (and not on a regular basis for at least two years), this video is *exactly* what I was looking for. So amazing.

I even created a "Laravel" list in my saved YouTube videos just for this. Excellent work, thank you so much.

marshallklickman
Автор

I remember when I was starting to learn PHP, it was from Alex's videos on TheNewBoston. Glad to see him again. Its been like 4 years.

abhijithj
Автор

Outstanding! You covered the same amount of information that other tutorials take ~10 hours.

cobb
Автор

Thanks for another great tutorial.
It is very condensed and a lot of theory is given... I'm always amazed these 1-2h videos keep me busy for days but I learn A LOT through them.

jakke
Автор

Alex was my first instructor to learn laravel in 2015. I am glad to see him at here

shaikhalamin
Автор

Wait, is this Alex from phpacademy? Because of you I now work with my dream job in IT. Big thanks for all your work!

folkepalmqvist
Автор

Thank you so much for this Alex.
Anyone who had this error: "Target class [App\View\Components\Post] does not exist", in the Blade Components part (02:06:49),
then make sure you deleted the "View\Components\Post", and finally run "php artisan view:clear".

michaelou
Автор

Travery is really taking care of us developers hey. I learnt an older version of laravel from this channel and today I'm a well established full stack freelance web developer. Thank you Brad

LongySchlongy
Автор

Ah Traversy media Thanks!!!
Alex thanks so much.
Currently am learning Laravel and this will really be a great edge for me.
I really appreciate the energy and synergy between you and Alex
Thanks once again.

Idysman