sofa/eloquence
Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
1,471,180
1,083
| Install | |
|---|---|
composer require sofa/eloquence |
|
| Latest Version: | v6 |
| PHP: | >=7.1.0 |
| License: | MIT |
| Last Updated: | May 21, 2025 |
| Links: | GitHub · Packagist |
Maintainer: jarektkaczyk
Sofa/Eloquence
Easy and flexible extensions for the Eloquent ORM.
Currently available extensions:
- Searchable query - crazy-simple fulltext search through any related model
- Validable - self-validating models
- Mappable -map attributes to table fields and/or related models
- Metable - meta attributes made easy
- Mutable - flexible attribute get/set mutators with quick setup
- Mutator - pipe-based mutating
By installing this package you get aforementioned extensions. Alternatively you can pull just single extension:
# get all extensions
composer require sofa/eloquence
# get single extension, eg. Metable
composer require sofa/eloquence-metable
Check the documentation for installation and usage info, API reference
Contribution
Shout out to all the Contributors!
All contributions are welcome, PRs must be tested and PSR-2 compliant - refer to particular extension repository.