Introduction To Eloquent | Laravel For Beginners | Learn Laravel

preview_player
Показать описание
This video will show you how to work with Laravel’s ORM tool called Eloquent. Eloquent stands out for its simplicity – Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.

📚 New Udemy Course

📲 Let’s plan a meeting

💌 Newsletter

🔥 Resources

Want to learn more?

#laravel #laravel8 #php #introduction
Рекомендации по теме
Комментарии
Автор

I think you made a mistake at 38:18 while implementing edit and update method, the following code was returning the first row from the database:

$car = Car::find($id)->first();

I omitted the first() method as the following and it worked:

$car = Car::find($id);

Thanks!

rajeshbudhathoki
Автор

Thank you so much Dary for these tutorials. Im working on a school project and your videos are worth more then gold.

fredriksundgren
Автор

Thank you for this great tutorial . I especially appreciate how the flow mirrors the laravel docs.

richardracine
Автор

Hey Dary. I just love your tutorial. For junior-level like me, your tutorials help me a lot. Thank you so much.


And if I can share with you, before this I code using your code (which is I found more readable for junior level). Later when I do some research, I found we can simplify your code (Refer to minutes 31:17. At store part).


What I do is I refactor the code and my code after that is like this :


$product = Product::create($request->only('name', 'founded', 'description'));

sulaimanmisri
Автор

👏👏👏 Most definitely recommending this to the guys at work.

sirbangalot
Автор

Thanks a lot for your amazing tutorial. Love your teaching style :)
Wish you make dedicated Playlist about Laravel Livewire since it make Laravel more more powerful :D

value-for-money
Автор

thank you so much for this tutorial, can you please build a project in laravel with react JS, I could not find any react project in laravel

siidsharma
Автор

Awesome tutorial, Dary. Thank you very much.

richardracine
Автор

Great tutorials 👌
Will there be some kind of bigger project in Laravel 8 like e-commerce site or something similar?
Greetings from Bosnia :)

notexpert
Автор

You’ll have 100k subscribers very soon, best of luck

siidsharma
Автор

A very good tutorial. Thank you very much.

jensknaack
Автор

Man thankyou so much, you helped me a LOT! ❣️😎

ryanseguiro
Автор

Thank you for the excellent tutorial. Can I request to see your desk setup? Thank you.

muhdbasiirzulkifle
Автор

Hi Dary, when looping through data passed via the controller, I sometimes see {{ $item['description'] }} instead of {{ $item->description }}. Both in the context of eloquent. Are both interchangeable?

upperlip
Автор

I like your way of teaching i love it ;
keep it up,

msaadcartoon
Автор

Dary... I love you.

Please, don't stop the videos... They're really awesome...

Keep them going man.

emmanuelasaolu
Автор

Hello Dary, first of all i'm so happy to find your channel. I learn a lot of things in a great way and thank you for it.
Just a question about the Route::resource in the web.php page( around 4'18''), but maybe something has changed in laravel. Your method "Route::resource('/cars', CarsController::class);" with the view page index.blade.php in a subdirectory cars in views directory doesn't seem to work with me. I need to put the index.blade.php directly in the views folder and use the next method "Route::resource('cars', CarsController::class);" to make it work with the url localhost:8000/cars. Do you think it is the wright way to proceed ? Thx a lot. Marc

marcgeonet
Автор

Hi Dary, thanks for the great tutorials.

I'm a bit confused about the routing here: In the web.php the uri defined in the routing is /cars, but in the browser /cars is not needed.

upperlip
Автор

Hi, there seems to be an error at 37:50

$car = Car::find($id)->first();

when i try to edit car with id=3, the displayed values are from id=1, removing first() seems to work ok.

BTW great tutorial, thanks!

gietece
Автор

pay attention colleagues :
that the return view in CarsController file must be: return view('cars.index'); and not: return view('index');
otherwise you will get no view at the browser.

bassemchrist