agungsugiarto/codeigniter4-eloquent
Brings Laravel's Eloquent ORM to CodeIgniter 4, letting you use expressive Eloquent models, relationships, and query building inside CI4 apps. A lightweight bridge for developers who prefer Eloquent's syntax over raw queries.
creating, created, saving, deleted, etc.) work. This unlocks audit logging, derived-field population, notification triggers, and cache invalidation without custom plumbing — a real feature unlock for domain logic.Adopt when:
Look elsewhere when:
For executives: This is a small, community-maintained bridge that lets our CodeIgniter 4 application use Laravel's Eloquent ORM. v2.0.1 adds two things that matter: model event hooks (so business logic like audit trails and notifications can attach to data changes cleanly) and Microsoft SQL Server support (expanding our database options). Strategic value is optionality — it keeps a future CodeIgniter → Laravel migration cheap and incremental rather than a rewrite.
For engineering: v2.0.1 wires up the Laravel event dispatcher and facade, making observers and model events first-class, and registers the SQLSRV driver. Both are additive, non-breaking on the surface — but they expand the integration surface between two frameworks. Recommendation: run a time-boxed spike, pin exact versions, isolate Eloquent usage behind repository interfaces so it can be swapped, and cover model events and SQLSRV paths with integration tests before committing. Treat this as a velocity and migration-de-risking play, not a core-platform dependency without a fallback.
How can I help you explore Laravel packages today?