Laravel Collections & Eloquent Methods: 44 Essential Methods for Beginners - Mastering in Laravel
HTML-код
- Опубликовано: 10 июл 2024
- In this tutorial, you'll learn about 44 must-know Laravel collections and Eloquent methods for beginners to Boost Your Laravel Knowledge. Starting with an introduction, we'll then cover the project setup before diving into the details. We'll go over count(), countBy(), max(), min(), median(), mode(), random() & sum(), where(), whereStrict() & whereBetween(), whereIn() & whereNotIn(), whereNull & whereNotNull(), whereDate(), whereDay, whereMonth(), whereYear() & wheretime(), filter() & reject(), contains(), except() & only(), map() & mapWithKeys(), pluck() & keyBy(), push(), put(), forget(), pop() & shift(), concat() & zip(), collapse() & split(), sort() & sortDesc(), and sortBy(), sortByDesc(), sortKeys() & sortKeysDesc().
📚 New Udemy Course
If you're looking to level up your Laravel skills? My new course "Mastering Laravel 10 Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: www.udemy.com/course/masterin...
🧠 14 Must-Know Laravel Collection Methods
In addition to the collection methods covered in this tutorial, there are 14 more that you should know about.
• 12 Must Know Collectio...
🧑🏼💻 Let’s plan a meeting
Do you need assistance with your next project in Laravel? Contact my Laravel agency for help! www.codewithdary.com
💌 Newsletter
Sign up for my free weekly email newsletter: newsletter.codewithdary.com/
🔥 Resources
- Twitter: / codewithdary
- Instagram: / codewithdary
- Blog: blog.codewithdary.com/
- Patreon: www.patreon.com/user?u=30307830
- GitHub: github.com/codewithdary
- TikTok: / codewithdary
⌛Timestamps
00:00 - Introduction
01:02 - Udemy Course [AD]
02:08 - Project Setup
13:41 - count(), countBy(), max(), min(), median(), mode(), random() & sum()
21:41 - where(), whereStrict() & whereBetween()
30:08 - whereIn() & whereNotIn()
33:47 - whereNull & whereNotNull()
37:53 - whereDate(), whereDay, whereMonth(), whereYear() & wheretime()
44:21 - filter() & reject()
52:49 - contains(), except() & only()
57:34 - map() & mapWithKeys()
01:05:17 - pluck() & keyBy()
01:08:17 - push(), put(), forget(), pop() & shift()
01:14:45 - concat() & zip()
01:17:12 - collapse() & split()
01:20:52 - sort() & sortDesc()
01:22:22 - sortBy(), sortByDesc(), sortKeys() & sortKeysDesc()
#laravel #codewithdary #eloquent #php
from this video Im learning lot more than collection methods
Awesome!! :)
Wow this was something special. Thank you, Darry. 🎉
Appreciate the kind words
Your do is so helpful for any developers 😊 thanks dary ❤
Thank you for being so kind
Wow. I am adding this video in my wishlist. Really helpful:)
I love to hear that! Thank you!
Love you bro...hardest working laravel dev in the business! And he keeps his shirt on now of days 😭
Love u too brother! Give me a couple weeks and my thumbnails are shirtless
😳
the video is so helpful! Thank you Dary but i'm fan of man united :)
Thank you so much, I miss the van Persie era...
just for information .. you can just simple write php artisan make:model Article -mf, or also -mfsc (migration, factory, seeder, controller) for simplicity
Definitely, it’s just very difficult to get rid of old habits 🤣
@@codewithdary I definitely agree with you
OMG the content is so helpful! Thank you teacher Dary. Would you mind sharing what kind of project to do for beginner in Laravel? So that I can do in the weekend. I watched the blog tutorial. It was great! Hoping to be a great programmer like you teacher.
I'm happy to help Han! Thank you for your kind words!
@@codewithdary Is there a way to book a video meeting with you teacher? So that I can ask more specific question. And of course I am willing to pay. Hopefully it is not expensive. ☺ Will wait for you video patiently. Hope you in a good health.
Hey Dary,
This is super useful and informative lesson where you have explained so much in 1 video. Thank a lot & keep up the great work.
I am happy to help Davidson! Thank you
Great series Dary... looking forward to the next one. What do you use for a screen recorder? Its very clear. Any recommendations for windows? Thanks and keep up the great work! -Mike
Thank you Mike! I have always used Quicktime pro but I recently started using OBS for my RUclips Shorts (which a lot of Windows users use) and that's pretty nice too!
first comment ? ❤❤ now watching....
You are the man :)
Whitch Php storm theme?
I'm already using another one, haha sorry.
What is the theme name?
I have changed my theme :(
Please make a course about filamentphp
It's coming, starting on the 13th of August!
@@codewithdary Please cover Custom actions 🥺
Font family and vscode theme please
Dracula theme and Fira Code!
hello dary , do you have a good tutorial about trait? if yes awar me pls, thank you
Not a specific video, I do add it in videos here and there.
#cfbr
Thank you
Without knowledge of SQL statements, this video will be useless and difficult to understand.
Without knowledge of SQL statements, you should not watch a Laravel tutorial.
Simply the Best :) 👍👍👍👍💯🦾🦾
Wow, thank you so much Vilhem!