Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jarektkaczyk/eloquence-base
base for the Eloquence extensions + Searchable
https://github.com/jarektkaczyk/eloquence-base
Last synced: 3 months ago
JSON representation
base for the Eloquence extensions + Searchable
- Host: GitHub
- URL: https://github.com/jarektkaczyk/eloquence-base
- Owner: jarektkaczyk
- License: mit
- Created: 2017-10-13T12:53:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-05T11:28:29.000Z (about 1 year ago)
- Last Synced: 2024-02-25T10:45:33.849Z (4 months ago)
- Language: PHP
- Homepage: https://softonsofa.com
- Size: 54.7 KB
- Stars: 76
- Watchers: 5
- Forks: 68
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Lists
- awesome-stars - jarektkaczyk/eloquence-base - base for the Eloquence extensions + Searchable (PHP)
README
# Sofa/Eloquence
[![GitHub Tests Action Status](https://github.com/jarektkaczyk/eloquence-base/workflows/Tests/badge.svg)](https://github.com/jarektkaczyk/eloquence-base/actions?query=workflow%3Atests+branch%3Amaster) [![Coverage Status](https://coveralls.io/repos/jarektkaczyk/eloquence-base/badge.svg)](https://coveralls.io/r/jarektkaczyk/eloquence-base) [![Code Quality](https://scrutinizer-ci.com/g/jarektkaczyk/eloquence-base/badges/quality-score.png)](https://scrutinizer-ci.com/g/jarektkaczyk/eloquence-base) [![Downloads](https://poser.pugx.org/sofa/eloquence-base/downloads)](https://packagist.org/packages/sofa/eloquence-base) [![stable](https://poser.pugx.org/sofa/eloquence-base/v/stable.svg)](https://packagist.org/packages/sofa/eloquence-base)
Easy and flexible extensions for the [Eloquent ORM](https://laravel.com/docs/eloquent).
Currently available extensions:
1. [Base - 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 mutating## Installation
```bash
composer require sofa/eloquence-base
```**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**.
To validate your builds before committing use the following composer command:
```bash
composer test
```