-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extracted extensions as separate packages
- Loading branch information
1 parent
8805ee5
commit f1e64f2
Showing
44 changed files
with
27 additions
and
4,981 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
# Sofa/Eloquence | ||
|
||
[![Build Status](https://travis-ci.org/jarektkaczyk/eloquence.svg)](https://travis-ci.org/jarektkaczyk/eloquence) [![Coverage Status](https://coveralls.io/repos/jarektkaczyk/eloquence/badge.svg)](https://coveralls.io/r/jarektkaczyk/eloquence) [![Code Quality](https://scrutinizer-ci.com/g/jarektkaczyk/eloquence/badges/quality-score.png)](https://scrutinizer-ci.com/g/jarektkaczyk/eloquence) [![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) | ||
[![Build Status](https://travis-ci.org/jarektkaczyk/eloquence.svg)](https://travis-ci.org/jarektkaczyk/eloquence) [![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/5.4/eloquent). | ||
Easy and flexible extensions for the [Eloquent ORM](https://laravel.com/docs/eloquent). | ||
|
||
**If I'm saving you some time with my work, you can back me up on [Patreon page](https://patreon.com/jarektkaczyk).** | ||
|
||
For older versions of Illuminate/Laravel please use: | ||
- 5.3.* -> [5.3](https://github.com/jarektkaczyk/eloquence/tree/5.3) branch. | ||
- 5.2.* -> [5.2](https://github.com/jarektkaczyk/eloquence/tree/5.2) branch. | ||
- 5.1.* -> [5.1](https://github.com/jarektkaczyk/eloquence/tree/5.1) branch. | ||
- 5.0.* -> [0.4](https://github.com/jarektkaczyk/eloquence/tree/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) | ||
1. `Validable` - self-validating models | ||
2. `Mappable` -map attributes to table fields and/or related models | ||
3. `Metable` - meta attributes made easy | ||
4. `Mutable` - flexible attribute get/set mutators with quick setup (with help of [Romain Lanz](https://github.com/RomainLanz)) | ||
5. `Mutator` - pipe-based mutating | ||
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 mutating | ||
|
||
By 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 | ||
|
||
All contributions are welcome, PRs must be **tested** and **PSR-2 compliant**. | ||
Shout out to all the Contributors! | ||
|
||
To validate your builds before committing use the following composer command: | ||
```bash | ||
composer test | ||
``` | ||
All contributions are welcome, PRs must be **tested** and **PSR-2 compliant** - refer to particular extension repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.