Laravel 6 Tutorial for Beginners #15 - Eloquent Models

preview_player
Показать описание
Hey gang, in this Laravel 6 tutorial we'll see how we can easily communicate with our database tables using eloquent models.

🐱‍👤🐱‍👤 JOIN THE GANG -
----------------------------------------
🐱‍💻 🐱‍💻 My Udemy Courses:

🐱‍💻 🐱‍💻 Course Links:

🐱‍💻 🐱‍💻 Other Related Free Courses:

🐱‍💻 🐱‍💻 The Net Ninja Community Boards:
Рекомендации по теме
Комментарии
Автор

If you find an error with the latest laravel like class Pizza not found,
try to change on 6:32 "use App\Models\Pizza;" instead of "use App\Pizza;"

davidmanzi
Автор

Man you are the best. I cant believe you made laravel this simple. i feel like a pro already in Laravel. Lol

arkimphiri
Автор

I am using Laravel 8 so I had a little problem being used to you using v6, but I love your tutorials so much that I decided to stick here!
I have a better understanding of Laravel now and I don't have much of a problem with the differences between the two versions.
Keep up the good work! 😊

annamariakosovashka
Автор

make sure you specify the table you wanna access on the Model :

class laraTable extends Model
{
use HasFactory;
public $table = "laraTable";
}

fidellistaz
Автор

This series gets more and more interesting each day.
I'm thankful to you sir.

Greetings from Tanzania 🇹🇿

raymondmichael
Автор

Thank Net Ninja for all the Tutorial you have take you time to offer us. For free wow God bless and Keep up the good work my great instructor am a fan

neonex
Автор

It would be great if you could do an updated tutorial for laravel 8+, youre one of the best teachers on Youtube! Great Content!

sstlcyx
Автор

Wow! This is THE BEST explanation I have ever watched on Laravel Models, precisely what I was looking for! Thank You!!

RockstahRolln
Автор

I didn't know the subject while semester, to be prepared in exams i learn this subject in just 3-4 hours. Thank You so much sir for this series. Love from India ❤️ 🙏

arthbhalodiya
Автор

Excellent. I appreciate how you went through multiple scenarios of constraining the Model. Your tutorials are making the move to Laravel easy.

samiaji
Автор

Hands down the best laravel tutorial on Youtube. This make linked in tutorials a total waste of money. Thank you.

digitalgenre
Автор

For Laravel version 8 use 'App\Models\Pizza;' to import models

ianodhiambo
Автор

Class 'App\Pizza' not found
Halp?
Edit: I solved it.
Replace the first three lines in PizzaController.php with

namespace App\Http\Controllers;
use
use App\Models\Pizza;

zygussyoung
Автор

You are the best. You teach so well and make things simple. Thank you

obentabiayuk
Автор

If you are using latest version of laravel your Pizza model will be saved inside api>Models> yourfile . please dont forget to include use App\Models\Pizza; in the pizzacontroller

cbisum
Автор

These Videos are actually so good, it's incredible that you can watch them for free.

patheticcoder
Автор

A super duper clear explaination, thanks a lot !

weihengcheah
Автор

sir please use VS-CODE extension 'Bracket Pair Colorizer' it's really helpful
then we can easily identify which brackets are closing where

mohammadahmermalick
Автор

this honestly feels like magic after learning PDO

perianka
Автор

If you are using Laravel 8 you most likely to get this error "Target class [PizzaController] does not exist." to fix this error - try this

noushadkhalidmel