Laravel Collections Chains: 15 Real Examples

  • 16 videos
  • 40 min

About this course

Collections in Laravel are "hidden gems": everyone has heard of them, but not everyone is using them or even knows how to use them.

Especially they are effective when performing multiple operations with data - so-called "chains", and this course is specifically about that.

Laravel collection chains

I've gathered 15 real-life examples from open-source Laravel projects. The goal is not only to show the Collection methods but also the practical scenarios of when they should be used.

In each example, we will trace down the intermediate values of the methods, so you will understand exactly how each method transforms the data.

There's a Github repository for you to play around with examples, and links to all the sources mentioned.