File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 11[ ![ Build Status] ( https://travis-ci.org/hoyvoy/laravel-cross-database-subqueries.svg?branch=master )] ( https://travis-ci.org/hoyvoy/laravel-cross-database-subqueries )
2- [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/5ef152edf13d4440a9ccacf942bbecf9 )] ( https://www.codacy.com/app/mario-hoyvoy/laravel-cross-database-subqueries?utm_source=github.com& ; utm_medium=referral& ; utm_content=hoyvoy/laravel-cross-database-subqueries& ; utm_campaign=Badge_Grade )
2+ [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/5ef152edf13d4440a9ccacf942bbecf9 )] ( https://www.codacy.com/app/mario-hoyvoy/laravel-cross-database-subqueries?utm_source=github.com& ; utm_medium=referral& ; utm_content=hoyvoy/laravel-cross-database-subqueries& ; utm_campaign=Badge_Grade )
3+ [ ![ StyleCI] ( https://styleci.io/repos/120466504/shield?branch=master )] ( https://styleci.io/repos/120466504 )
4+
5+ # Laravel Cross database subqueries
6+ Eloquent cross database compatibility in subqueries.
7+
8+ # Why do I need it?
9+ ### To use the following Eloquent methods cross databases:
10+ * has
11+ * whereHas
12+ * doesntHave
13+ * whereDoesntHave
14+ * withCount
15+
16+ # Installation
17+ Install with composer
18+ ~~~
19+ composer require hoyvoy/laravel-cross-database-subqueries
20+ ~~~
21+
22+ From Laravel 5.5 onwards, it's possible to take advantage of auto-discovery of the service provider.
23+ For Laravel versions before 5.5, you must register the service provider in your config/app.php
24+
25+ ~~~
26+ Hoyvoy\CrossDatabase\CrossDatabaseServiceProvider::class,
27+ ~~~
You can’t perform that action at this time.
0 commit comments