mauretto78/array-query
Array Query is a PHP library that lets you query arrays using SQL-like syntax: select, where, order by, group by, limit and joins, with support for nested keys and custom operators. It brings database-style filtering and sorting to plain arrays, making complex data manipulation readable and testable...
Consider it only when all or most of these are true:
Look elsewhere when:
Arr helpers, database JSON queries, or a maintained query builder already solve the problem.For executives: This is a small, MIT-licensed utility for querying nested arrays. It may speed up prototypes and internal tools, but it is not a strategic dependency: it has low adoption and no recent release since 2019. Treat it as a tactical, replaceable convenience—not something to build a roadmap or customer-facing capability on.
For engineering: The package can help with bounded in-memory filtering/sorting when a database or full query layer is overkill. Before adoption, verify PHP/Laravel compatibility, inspect the dependency and test surface, and wrap it behind an internal interface. Do not place it on critical paths without a fork/vendor plan. In most Laravel applications, native Collections or database queries should remain the default; use this package only where it clearly reduces delivery time and the risk is acceptable.
How can I help you explore Laravel packages today?