artesaos/warehouse
Warehouse V2 is a Laravel repository-pattern demo/package that centralizes queries and business rules while still returning Eloquent models and Collections. Use it as a ready-to-use repository layer without giving up Eloquent’s practicality.
For Executives: "This package lets us adopt a repository pattern—a best practice for organizing database logic—without rewriting boilerplate. It centralizes queries, simplifies pagination, and keeps business rules close to data access. For example, if we’re building a [Product X] admin dashboard with 50+ tables, this reduces spaghetti code and makes future database changes easier. The tradeoff? Minimal upfront cost (MIT license, no vendor lock-in) and a slight learning curve for the team. We’d pilot it on [Module Y] to prove ROI."
For Engineering: *"Warehouse V2 gives us a lightweight repository layer on top of Eloquent, with:
getAll, findByID, lists) to standardize data fetching.newQuery() and doQuery() for custom logic.How can I help you explore Laravel packages today?