🧠 Easy Model v2.1.0 — Smarter, More Pow ...

🧠 Easy Model v2.1.0 — Smarter, More Powerful Eloquent Queries

Sep 13, 2026

image🚀 Easy Model v2.1.0 is here!

A major update focused on more powerful querying, flexible filtering, relationships, and efficient database operations.

✨ What’s New

  • 🔎 Request-Driven Queries — build controlled filters, sorts, includes, and searches from request parameters.

  • ⚙️ Conditional Queries — easily apply query logic with when() and unless().

  • 🔗 Smarter Relationships — dynamic eager loading, relationship counts, and relationship-based keyword searches.

  • 🎯 Select & Pagination — control selected columns and use multiple pagination strategies.

  • 📅 Date & JSON Filters — handle dates, periods, and JSON conditions with dedicated methods.

  • 🗑️ Soft Deletes — improved support for querying, restoring, and permanently deleting soft-deleted models.

  • ⚡ Mass Insert & Upsert — efficiently handle bulk database operations with optional model events.

  • 🔄 Better Relationship Ordering — improved joins and table aliasing for complex relationships.

  • 🧪 Better Testing — expanded test coverage with Orchestra Testbench and PHPUnit.

Built to reduce repetitive Eloquent code and give Laravel developers more control with less boilerplate.

👉 Check out Easy Model:

https://github.com/mahmoudmohamedramadan/easy-model

Vous aimez cette publication ?

Achetez un café à Mahmoud Ramadan

Plus de Mahmoud Ramadan