How to Play with Data Using Laravel Collection Methods

laravel-collection-method-example

This tutorial explains about how to work with Laravel collection with Eloquent. I will provide all popular methods of laravel collection. You can convert any PHP array data into the collection and vice-versa as well. The Illuminate\Support\Collection class provides a fluent, convenient wrapper for working with arrays of data into Laravel application. The Laravel Eloquent […]

Continue reading