dive-be/eloquent-utils
A collection of handy utilities for Laravel's Eloquent ORM, offering small helpers and traits that simplify common model tasks, cut boilerplate, and keep your codebase clean. Includes practical conveniences for everyday queries, model concerns, and data handling in Laravel apps.
Consider it when:
Look elsewhere when:
To executives: This package is now current with the latest PHP (8.4) and Laravel (12), which is good for security posture — it will not be the dependency holding us back on patches. The trade-off: it supports only those latest versions, so it commits us to staying current rather than letting our platform age. It is also pre-1.0, which means the maintainer has not yet promised interface stability. Recommendation: viable on a modernisation track, not on a "keep the lights on" track — and worth a formal checkpoint at 1.0.
To engineering: Version 0.4.0 adds PHP 8.4 and Laravel 12 support and removes PHP 8.3 and Laravel 11 — this is a breaking change in a minor release, permissible under 0.x semver but a clear signal about the maintainer's compatibility philosophy. Practical implications: adoption requires our app to be on Laravel 12 / PHP 8.4 (or the upgrade scheduled in the same window); pin the version explicitly and read the changelog on every bump rather than relying on caret ranges; keep our usage behind a thin internal interface so replacement or vendoring stays cheap. Verify the removed-version claim in CI — a matrix that tests only the newest versions means regressions against older runtimes go undetected by upstream, which is fine if we never run those runtimes and a trap if we do.
How can I help you explore Laravel packages today?