latik / eloquence by latik
forked from jarektkaczyk/eloquence

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
295
0
1
Package Data
Maintainer Username: latik
Maintainer Contact: jarek@softonsofa.com (Jarek Tkaczyk)
Package Create Date: 2017-01-28
Package Last Update: 2017-10-14
Home Page: http://softonsofa.com
Language: PHP
License: MIT
Last Refreshed: 2024-11-09 15:06:23
Package Statistics
Total Downloads: 295
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Sofa/Eloquence

Build Status Coverage Status Code Quality Downloads stable

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:

  • 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