Tag: Collections

  • 15 Useful Laravel Collection Methods You Have to Know

    15 Useful Laravel Collection Methods You Have to Know

    The Laravel framework comes with very powerful wrapper for working with arrays – Collections. If you have worked with Eloquent you must have encountered and used Collections. Collections are a broader term, where Eloquent Collections are the implementation of these broader Collections. The methods that we cover in this article can be used for both…

  • How to handle Collections outside Laravel

    How to handle Collections outside Laravel

    One thing when working with Laravel that I have used the most, are the Laravel Collections. They come handy when you need to manipulate and filter arrays. Collections basically are a wrapper for working with arrays of data. Collections provide a lot of powerful and useful methods to manipulate the arrays. You can check them…