Laravel Tutorials

Laravel Collections Unraveled

Published

Jeff Madsen has created a new free ebook, Laravel Collections Unraveled, that explores Laravel collections:

In “Laravel Collections Unraveled” we are going to see just what is so amazing about this class by digging down under the hood to understand the full range of functions available, and create practical examples of each of them that we can use right away. In the process, we’re going to perhaps improve our basic PHP skills a bit by getting more familiar with ArrayObjects, CachingIterators, IteratorAggregates and some other handy tools.

The book is currently 19 pages but will be updated over time. Here is a list of sections the book covers:

  • Introduction
  • What are Collections?
  • The functions – Array Mimicking
  • The functions – Array Mechanics
  • The functions – Array Wrappers
  • The functions – Ways to sort
  • The functions – Ways to filter
  • The functions – Ways to loop, transform and misc. methods
  • Support Collections vs. Eloquent Collections

Get your copy today over at Leanpub.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Laravel Rulebook: Business Rules That Change by Date image

Laravel Rulebook: Business Rules That Change by Date

Read article
Taylor disabled GitHub Issues on most Laravel open-source packages. image

Taylor disabled GitHub Issues on most Laravel open-source packages.

Read article
Exclude Vendor and Default Commands in `php artisan dev` image

Exclude Vendor and Default Commands in `php artisan dev`

Read article
The Laracon Archive image

The Laracon Archive

Read article
Group Adjacent Collection Items in Laravel with chunkBy() image

Group Adjacent Collection Items in Laravel with chunkBy()

Read article
Laravel queue:work Now Prints Why the Worker Stopped image

Laravel queue:work Now Prints Why the Worker Stopped

Read article