Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jarektkaczyk/eloquence
Extensions for the Eloquent ORM
https://github.com/jarektkaczyk/eloquence
Last synced: 25 days ago
JSON representation
Extensions for the Eloquent ORM
- Host: GitHub
- URL: https://github.com/jarektkaczyk/eloquence
- Owner: jarektkaczyk
- License: mit
- Created: 2015-03-19T02:29:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-06T18:17:08.000Z (over 1 year ago)
- Last Synced: 2024-10-01T17:41:25.957Z (about 1 month ago)
- Language: PHP
- Homepage: http://softonsofa.com
- Size: 271 KB
- Stars: 1,088
- Watchers: 55
- Forks: 141
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-framework - Sofa/Eloquence - Extensions for the Eloquent ORM (Popular Packages)
- laravel-awesome - Sofa/Eloquence - Extensions for the Eloquent ORM (Popular Packages)
- awesome-laravel - Sofa/Eloquence - Extensions for the Eloquent ORM (Popular Packages)
README
# Sofa/Eloquence
[![GitHub Tests Action Status](https://github.com/jarektkaczyk/eloquence/workflows/Tests/badge.svg)](https://github.com/jarektkaczyk/eloquence/actions?query=workflow%3Atests+branch%3Amaster) [![Downloads](https://poser.pugx.org/sofa/eloquence/downloads)](https://packagist.org/packages/sofa/eloquence) [![stable](https://poser.pugx.org/sofa/eloquence/v/stable.svg)](https://packagist.org/packages/sofa/eloquence)
Easy and flexible extensions for the [Eloquent ORM](https://laravel.com/docs/eloquent).
Currently available extensions:
1. [Searchable](https://github.com/jarektkaczyk/eloquence-base) query - crazy-simple fulltext search through any related model
1. [Validable](https://github.com/jarektkaczyk/eloquence-validable) - self-validating models
2. [Mappable](https://github.com/jarektkaczyk/eloquence-mappable) -map attributes to table fields and/or related models
3. [Metable](https://github.com/jarektkaczyk/eloquence-metable) - meta attributes made easy
4. [Mutable](https://github.com/jarektkaczyk/eloquence-mutable) - flexible attribute get/set mutators with quick setup
5. [Mutator](https://github.com/jarektkaczyk/eloquence-mutable) - pipe-based mutatingBy installing this package you get aforementioned extensions. Alternatively you can pull just single extension:
```bash
# get all extensions
composer require sofa/eloquence# get single extension, eg. Metable
composer require sofa/eloquence-metable
```**Check the [documentation](https://github.com/jarektkaczyk/eloquence/wiki) for installation and usage info, [website](http://softonsofa.com/tag/eloquence/) for examples and [API reference](http://jarektkaczyk.github.io/eloquence-api)**
## Contribution
Shout out to all the Contributors!
All contributions are welcome, PRs must be **tested** and **PSR-2 compliant** - refer to particular extension repository.