A collection of easy and flexible extensions for Laravel's Eloquent ORM, adding searchable, validable, mappable, and other capabilities.
Sofa/Eloquence is a PHP package that provides a collection of extensions for Laravel's Eloquent ORM. It adds advanced features like full-text search, self-validation, attribute mapping, and meta attributes to Eloquent models, solving common database interaction challenges in Laravel applications.
Laravel developers working with Eloquent ORM who need enhanced model capabilities such as search, validation, or flexible attribute handling without reinventing the wheel.
Developers choose Sofa/Eloquence for its modular, easy-to-integrate extensions that extend Eloquent's core functionality with minimal setup, offering a clean, tested, and PSR-2 compliant solution for complex database operations.
Extensions for the Eloquent ORM
Allows installing individual extensions like Metable or Validable via Composer, keeping projects lightweight and focused on specific needs, as shown in the README's installation options.
Provides a simple, query-based full-text search across related models with the Searchable extension, eliminating complex manual SQL queries for basic search needs.
Enables models to validate their own data using built-in rules via the Validable trait, reducing boilerplate code in controllers and improving code organization.
Offers Mappable and Metable extensions for dynamic attribute mapping and key-value meta data management, making it easier to handle complex database schemas.
Documentation is split across multiple repositories and wikis, as noted in the README links, which can make it harder to find cohesive guidance and troubleshoot issues.
Each extension requires separate installation and configuration, adding overhead compared to a single, integrated package, especially when combining multiple traits.
As a third-party package, it may have slower updates or less community support than core Laravel features, potentially leading to compatibility gaps with newer Laravel versions.
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Debugbar for Laravel (Integrates PHP Debug Bar)
IDE Helper for Laravel
PHP Image Processing
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.