yaquawa/laravel-collection-extension

Adds a few macros to the Laravel Collection and Arr.

v1.0.2 2020-01-10 04:25 UTC

This package is auto-updated.

Last update: 2024-11-10 18:12:46 UTC


README

Adds a few convenient macros to the Laravel Collection and Arr.

Installation

composer require yaquawa/laravel-collection-extension

Arr Extensions

  • deepMerge - Similar to array_merge_recursive but without duplicated values.

Collection extensions

  • deepMerge - An alias of Arr::deepMerge.