latik / eloquence
Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
v5.5.1
2017-10-13 15:02 UTC
Requires
- php: >=7.0.0
- sofa/eloquence-base: 5.5.*
- sofa/eloquence-mappable: 5.5.*
- sofa/eloquence-metable: 5.5.*
- sofa/eloquence-mutable: 5.5.*
- sofa/eloquence-validable: 5.5.*
Requires (Dev)
- mockery/mockery: 0.9.4
- phpunit/phpunit: 4.5.0
- squizlabs/php_codesniffer: 2.3.3
This package is not auto-updated.
Last update: 2024-12-13 20:29:20 UTC
README
Easy and flexible extensions for the Eloquent ORM (Laravel 5.3).
If I'm saving you some time with my work, you can back me up on Patreon page.
For older versions of Illuminate/Laravel please use:
Currently available extensions:
Searchable
query - crazy-simple fulltext search through any related model (based on https://github.com/nicolaslopezj/searchable only written from scratch & greatly improved)Validable
- self-validating modelsMappable
-map attributes to table fields and/or related modelsMetable
- meta attributes made easyMutable
- flexible attribute get/set mutators with quick setup (with help of Romain Lanz)Mutator
- pipe-based mutating
Check the documentation for installation and usage info, website for examples and API reference
Contribution
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