|
1 | 1 | # Sofa/Eloquence
|
2 | 2 |
|
3 |
| -[](https://travis-ci.org/jarektkaczyk/eloquence) [](https://coveralls.io/r/jarektkaczyk/eloquence) [](https://scrutinizer-ci.com/g/jarektkaczyk/eloquence) [](https://packagist.org/packages/sofa/eloquence) [](https://packagist.org/packages/sofa/eloquence) |
| 3 | +[](https://travis-ci.org/jarektkaczyk/eloquence) [](https://packagist.org/packages/sofa/eloquence) [](https://packagist.org/packages/sofa/eloquence) |
4 | 4 |
|
5 |
| -Easy and flexible extensions for the [Eloquent ORM](https://laravel.com/docs/5.4/eloquent). |
| 5 | +Easy and flexible extensions for the [Eloquent ORM](https://laravel.com/docs/eloquent). |
6 | 6 |
|
7 | 7 | **If I'm saving you some time with my work, you can back me up on [Patreon page](https://patreon.com/jarektkaczyk).**
|
8 | 8 |
|
9 |
| -For older versions of Illuminate/Laravel please use: |
10 |
| -- 5.3.* -> [5.3](https://github.com/jarektkaczyk/eloquence/tree/5.3) branch. |
11 |
| -- 5.2.* -> [5.2](https://github.com/jarektkaczyk/eloquence/tree/5.2) branch. |
12 |
| -- 5.1.* -> [5.1](https://github.com/jarektkaczyk/eloquence/tree/5.1) branch. |
13 |
| -- 5.0.* -> [0.4](https://github.com/jarektkaczyk/eloquence/tree/0.4) branch. |
14 |
| - |
15 | 9 | Currently available extensions:
|
16 | 10 |
|
17 |
| -1. `Searchable` query - crazy-simple fulltext search through any related model (based on https://github.com/nicolaslopezj/searchable only written from scratch & greatly improved) |
18 |
| -1. `Validable` - self-validating models |
19 |
| -2. `Mappable` -map attributes to table fields and/or related models |
20 |
| -3. `Metable` - meta attributes made easy |
21 |
| -4. `Mutable` - flexible attribute get/set mutators with quick setup (with help of [Romain Lanz](https://github.com/RomainLanz)) |
22 |
| -5. `Mutator` - pipe-based mutating |
| 11 | +1. [Searchable](https://github.com/jarektkaczyk/eloquence-base) query - crazy-simple fulltext search through any related model |
| 12 | +1. [Validable](https://github.com/jarektkaczyk/eloquence-validable) - self-validating models |
| 13 | +2. [Mappable](https://github.com/jarektkaczyk/eloquence-mappable) -map attributes to table fields and/or related models |
| 14 | +3. [Metable](https://github.com/jarektkaczyk/eloquence-metable) - meta attributes made easy |
| 15 | +4. [Mutable](https://github.com/jarektkaczyk/eloquence-mutable) - flexible attribute get/set mutators with quick setup |
| 16 | +5. [Mutator](https://github.com/jarektkaczyk/eloquence-mutable) - pipe-based mutating |
| 17 | + |
| 18 | +By installing this package you get aforementioned extensions. Alternatively you can pull just single extension: |
| 19 | + |
| 20 | +```bash |
| 21 | +# get all extensions |
| 22 | +composer require sofa/eloquence |
| 23 | + |
| 24 | +# get single extension, eg. Metable |
| 25 | +composer require sofa/eloquence-metable |
| 26 | +``` |
23 | 27 |
|
24 | 28 | **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)**
|
25 | 29 |
|
26 | 30 | ## Contribution
|
27 | 31 |
|
28 |
| -All contributions are welcome, PRs must be **tested** and **PSR-2 compliant**. |
| 32 | +Shout out to all the Contributors! |
29 | 33 |
|
30 |
| -To validate your builds before committing use the following composer command: |
31 |
| -```bash |
32 |
| -composer test |
33 |
| -``` |
| 34 | +All contributions are welcome, PRs must be **tested** and **PSR-2 compliant** - refer to particular extension repository. |
0 commit comments