rekalogika/reconstitutor
Rekalogika Reconstitutor is a PHP library for rebuilding objects from persisted data. It maps database rows or arrays to typed objects through a simple reconstitution API, helping keep persistence logic separate from domain models.
flush/commit cycle, this package provides a maintained abstraction for reconstituting entities after transactions. Release 2.5.0 specifically hardens edge cases (begin-flush-clear-commit, detach during a transaction), reducing the custom code and QA burden a product team would otherwise carry.Consider adoption when:
begin-flush-clear-commit, detach-during-transaction handling, negative tests) directly address scenarios that are hard to test internally.Look elsewhere when:
For executives: This is a small, actively maintained PHP dependency that reduces the risk of data inconsistency after database transactions. The 2.5.0 release is a low-risk upgrade: it fixes tricky transaction edge cases and adds test coverage, with no breaking changes. It supports upcoming platform upgrades (Symfony 8), so it lowers both operational risk and future upgrade friction at minimal cost.
For engineering: Version 2.5.0 is a minor, backwards-compatible release. It improves correctness in begin-flush-clear-commit flows, handles entity detachment during transactions, adds negative tests and cleanup, and permits Symfony 8. No migration work is expected; the main action is to validate the new edge-case behavior against our transaction patterns and include it in the next dependency bump. It remains a good fit where Doctrine post-commit entity state matters; it is not relevant for Eloquent-only code paths.
How can I help you explore Laravel packages today?