ortic/eloquence-base

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

v7.1.2 2020-12-05 08:31 UTC

This package is auto-updated.

Last update: 2024-12-08 06:21:48 UTC


README

GitHub Tests Action Status Coverage Status Code Quality Downloads stable

Easy and flexible extensions for the Eloquent ORM.

Currently available extensions:

  1. Base - 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

Installation

composer require sofa/eloquence-base

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