New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ortic/eloquence

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
6,613 8
Install
composer require ortic/eloquence
Latest Version:v5.4.2
PHP:>=5.6.4
Laravel:5
License:MIT
Last Updated:Mar 22, 2017
Links: GitHub  ·  Packagist
Maintainer: Remo

Sofa/Eloquence

Build Status Coverage Status Code Quality Downloads stable

Easy and flexible extensions for the Eloquent ORM (Laravel 5.4).

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:

  • 5.3.* -> 5.3 branch.
  • 5.2.* -> 5.2 branch.
  • 5.1.* -> 5.1 branch.
  • 5.0.* -> 0.4 branch.

Currently available extensions:

  1. Searchable query - crazy-simple fulltext search through any related model (based on https://github.com/nicolaslopezj/searchable only written from scratch & greatly improved)
  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 (with help of Romain Lanz)
  6. 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

Related Packages

sofa/eloquence-base

Flexible Searchable, Mappable, Metable, Validation and more extensions for Larav...

2,028,106 79
sofa/eloquence

Flexible Searchable, Mappable, Metable, Validation and more extensions for Larav...

1,514,918 1,079
sofa/eloquence-mappable

Flexible Searchable, Mappable, Metable, Validation and more extensions for Larav...

1,474,131 51
sofa/eloquence-mutable

Flexible Searchable, Mappable, Metable, Validation and more extensions for Larav...

1,301,665 26
sofa/eloquence-metable

Flexible Searchable, Mappable, Metable, Validation and more extensions for Larav...

1,283,450 32

Version History

Version Released PHP Laravel License
v5.4.2 >=5.6.4 5.3.*|5.4.* MIT
v5.4.1 >=5.6.4 5.3.*|5.4.* MIT
v5.4 >=5.6.4 5.3.*||5.4.* MIT
v5.3.2 >=5.6.4 5.3.* MIT
v5.3.1 >=5.6.4 5.3.* MIT