{"repo":"spatie/laravel-collection-macros","free":true,"listed":false,"github":"https://github.com/spatie/laravel-collection-macros","clone":"git clone https://github.com/spatie/laravel-collection-macros.git","description":"A set of useful Laravel collection macros","language":"PHP","stars":1909,"topics":["laravel","php","collection","macros","hacktoberfest"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"A set of useful Laravel collection macros This repository contains some useful collection macros. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can pull in the package via composer: The package will automatically register itself. Macros - after - at - second - third - fourth - fifth - sixth - seventh - eighth - ninth - tenth - getNth - catch - chunkBy - collectBy - containsAny - containsAll - eachCons - extract - filterMap - firstOrPush - fromPairs - getCaseInsensitive - glob - groupByModel - hasCaseInsensitive - head - if - ifAny - ifEmpty - insertAfter - insertAfterKey - insertAt - insertBefore - insertBeforeKey - none - paginate - path - pluckMany - pluckManyValues - pluckToArray - prioritize - recursive - rotate - sectionBy - simplePaginate - sliceBefore - tail - try - toPairs - transpose - validate - weightedRandom - withSize after Get the next item from the collection. You can also pass a second parameter to be used as a fallback. at Retrieve an item at an index. second Retrieve item at the second index. thir","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-collection-macros/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}