jarektkaczyk / eloquence by jarektkaczyk

Flexible Searchable, Mappable, Metable, Validation and more extensions for Laravel Eloquent ORM.
1,163,559
1,087
56
Package Data
Maintainer Username: jarektkaczyk
Maintainer Contact: jarek@softonsofa.com (Jarek Tkaczyk)
Package Create Date: 2015-03-19
Package Last Update: 2023-06-06
Home Page: http://softonsofa.com
Language: PHP
License: MIT
Last Refreshed: 2024-03-26 03:16:43
Package Statistics
Total Downloads: 1,163,559
Monthly Downloads: 13,375
Daily Downloads: 628
Total Stars: 1,087
Total Watchers: 56
Total Forks: 143
Total Open Issues: 16

Sofa/Eloquence

Build Status Downloads stable

Easy and flexible extensions for the Eloquent ORM.

If I'm saving you some time with my work, you can back me up on Patreon page.

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.