#Laravel ships with a collection helper 'chunkWhile' that lets you chunk a collection while a given condition is met. Once the condition is no longer met, a new chunk is started and so on. Example: Grouping dates by day.
Right now all my #php packages have 855 downloads in total. Which compared to other packages is like nothing. But 1000 people downloading and some of them still using my open source work is a cool feeling. Will pop open a beer once I reached my first 1000
I'm offering a FREE copy of my book, Mastering Object-Oriented PHP, to all members of the #php community. It's my way of giving back. Grab your copy at https://masteringobjectorientedphp.com today.