Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Recursive Collection

Laravel Recursive Collection Laravel Package

designmynight/laravel-recursive-collection

A Laravel package that adds recursive helpers to collections for working with nested, tree-like data. Easily flatten, traverse, filter, and transform structures such as menus, categories, and threaded comments using simple chainable methods, keeping your code clean and readable.

View on GitHub
Deep Wiki
Context7

Laravel Recursive Collection extends Laravel's native Collection with recursive operations, letting you traverse and transform deeply nested arrays and collections without writing repetitive loops. It's a drop-in replacement that preserves the familiar fluent API while adding awareness of child items.

  • Recursive map, filter, and each across nested levels
  • Configurable child key or callback for custom structures
  • Seamless integration with existing Illuminate\Support\Collection methods
  • Ideal for trees, menus, categories, and nested API responses
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin