ogestor / eloquence-mutable
Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
6.0
2020-11-26 17:59 UTC
Requires
- php: >=7.0.0
- ogestor/eloquence-base: ^6.0
Requires (Dev)
- mockery/mockery: 0.9.4
- phpunit/phpunit: 4.5.0
- squizlabs/php_codesniffer: 2.3.3
README
Easy and flexible extensions for the Eloquent ORM.
If I'm saving you some time with my work, you can back me up on Patreon page.
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
Installation
composer require sofa/eloquence-mutable
Check the documentation for installation and usage info, website for examples and API reference
Contribution
Shout out to all the Contributors!
All contributions are welcome, PRs must be tested and PSR-2 compliant.
To validate your builds before committing use the following composer command:
composer test