sofa / eloquence-metable
Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
Fund package maintenance!
jarektkaczyk
softonsofa.com
Installs: 1 097 329
Dependents: 6
Suggesters: 0
Security: 0
Stars: 32
Watchers: 4
Forks: 18
Open Issues: 1
Requires
- php: >=7.1.0
- sofa/eloquence-base: >=5.5
- sofa/eloquence-mutable: >=5.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- mockery/mockery: ^1.0
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: 2.3.3
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
Installation
composer require sofa/eloquence-metable
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