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

Комментарии • 42

  • @constantine9074
    @constantine9074 9 месяцев назад +1

    from this video Im learning lot more than collection methods

  • @muzika5001
    @muzika5001 Год назад +1

    Wow this was something special. Thank you, Darry. 🎉

  • @catwh4888
    @catwh4888 11 месяцев назад +2

    Your do is so helpful for any developers 😊 thanks dary ❤

    • @codewithdary
      @codewithdary  11 месяцев назад

      Thank you for being so kind

  • @mzaccount5412
    @mzaccount5412 Год назад +1

    Wow. I am adding this video in my wishlist. Really helpful:)

  • @fullstacklarry
    @fullstacklarry Год назад +1

    Love you bro...hardest working laravel dev in the business! And he keeps his shirt on now of days 😭

    • @codewithdary
      @codewithdary  Год назад +1

      Love u too brother! Give me a couple weeks and my thumbnails are shirtless

    • @fullstacklarry
      @fullstacklarry Год назад

      😳

  • @abdurashid_dev
    @abdurashid_dev 10 месяцев назад +2

    the video is so helpful! Thank you Dary but i'm fan of man united :)

    • @codewithdary
      @codewithdary  10 месяцев назад +1

      Thank you so much, I miss the van Persie era...

  • @ludwigtomas
    @ludwigtomas Год назад +1

    just for information .. you can just simple write php artisan make:model Article -mf, or also -mfsc (migration, factory, seeder, controller) for simplicity

    • @codewithdary
      @codewithdary  Год назад +1

      Definitely, it’s just very difficult to get rid of old habits 🤣

    • @ludwigtomas
      @ludwigtomas Год назад

      @@codewithdary I definitely agree with you

  • @hanshangyan1512
    @hanshangyan1512 Год назад +1

    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.

    • @codewithdary
      @codewithdary  Год назад

      I'm happy to help Han! Thank you for your kind words!

    • @hanshangyan1512
      @hanshangyan1512 Год назад

      @@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.

  • @davidson7838
    @davidson7838 Год назад +1

    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.

    • @codewithdary
      @codewithdary  Год назад

      I am happy to help Davidson! Thank you

  • @swancompany_inc
    @swancompany_inc Год назад +1

    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

    • @codewithdary
      @codewithdary  Год назад +1

      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!

  • @genzdevslog
    @genzdevslog Год назад +1

    first comment ? ❤❤ now watching....

  • @west5369
    @west5369 11 месяцев назад +1

    Whitch Php storm theme?

    • @codewithdary
      @codewithdary  11 месяцев назад

      I'm already using another one, haha sorry.

  • @west5369
    @west5369 11 месяцев назад +1

    What is the theme name?

    • @codewithdary
      @codewithdary  11 месяцев назад

      I have changed my theme :(

  • @ahmedsunil3235
    @ahmedsunil3235 11 месяцев назад +1

    Please make a course about filamentphp

    • @codewithdary
      @codewithdary  11 месяцев назад +1

      It's coming, starting on the 13th of August!

    • @ahmedsunil3235
      @ahmedsunil3235 11 месяцев назад

      @@codewithdary Please cover Custom actions 🥺

  • @caninh9729
    @caninh9729 11 месяцев назад +1

    Font family and vscode theme please

    • @codewithdary
      @codewithdary  11 месяцев назад

      Dracula theme and Fira Code!

  • @computer23able
    @computer23able Год назад +1

    hello dary , do you have a good tutorial about trait? if yes awar me pls, thank you

    • @codewithdary
      @codewithdary  11 месяцев назад

      Not a specific video, I do add it in videos here and there.

  • @aakashdesai149
    @aakashdesai149 10 месяцев назад +1

    #cfbr

  • @artemsergeev4833
    @artemsergeev4833 11 месяцев назад

    Without knowledge of SQL statements, this video will be useless and difficult to understand.

    • @codewithdary
      @codewithdary  11 месяцев назад +1

      Without knowledge of SQL statements, you should not watch a Laravel tutorial.

  • @vilhemleshi7222
    @vilhemleshi7222 Год назад +1

    Simply the Best :) 👍👍👍👍💯🦾🦾