analogue/orm
Analogue is a flexible data-mapper ORM for PHP and Laravel. It separates domain models from mappers and repositories, offering fluent query building, eager-loaded relations, collections and clean persistence without the active-record constraints of Eloquent.
Adopt or evaluate when:
Look elsewhere when:
To executives: Analogue ORM is a technically elegant option for products with complex business domains, because it keeps business logic cleanly separated from database code — improving testability and long-term maintainability. However, it has not been released since April 2020, has no downstream dependents listed, and scores low on opportunity (3.77). Recommendation: do not make it a platform bet for core roadmap delivery. Treat it as a candidate only for a time-boxed spike or as a reference architecture, and budget for owning/forking it if we proceed. The safer alternatives are Eloquent for speed and Doctrine for structured domains.
To engineering: Analogue offers a Laravel-friendly Data Mapper with identity map, unit of work, repositories, embeddables, and inheritance mapping — a strong fit if we commit to DDD and hexagonal architecture. The trade-off is explicit: more boilerplate and a dependency we must maintain. Proposed next step is a two-week spike comparing Analogue, Doctrine + Laravel Doctrine, and Eloquent against one representative bounded context, scoring on fit, maintenance cost, and upgrade path to current PHP/Laravel. Decision gate: only adopt if the spike shows clear domain-complexity payoff and we accept fork ownership.
How can I help you explore Laravel packages today?