sofa/eloquence

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.

Fund package maintenance!
jarektkaczyk
softonsofa.com

Installs: 1 160 343

Dependents: 13

Suggesters: 0

Security: 0

Stars: 1 087

Watchers: 56

Forks: 145

Open Issues: 16

v6 2019-09-24 21:41 UTC

README

GitHub Tests Action Status Downloads stable

Easy and flexible extensions for the Eloquent ORM.

Currently available extensions:

  1. Searchable query - crazy-simple fulltext search through any related model
  2. Validable - self-validating models
  3. Mappable -map attributes to table fields and/or related models
  4. Metable - meta attributes made easy
  5. Mutable - flexible attribute get/set mutators with quick setup
  6. 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, 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 - refer to particular extension repository.