sofa / eloquence
Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
v6
2019-09-24 21:41 UTC
Requires
- php: >=7.0.0
- sofa/eloquence-base: ^5.5|^6.0
- sofa/eloquence-mappable: ^5.5|^6.0
- sofa/eloquence-metable: ^5.5|^6.0
- sofa/eloquence-mutable: ^5.5|^6.0
- sofa/eloquence-validable: ^5.5|^6.0
Requires (Dev)
- mockery/mockery: 0.9.4
- phpunit/phpunit: 4.5.0
- squizlabs/php_codesniffer: 2.3.3
This package is auto-updated.
Last update: 2026-05-21 08:48:45 UTC
README
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.