Skip to content

Commit 5ff6553

Browse files
committed
Updated README.md
1 parent da72ad4 commit 5ff6553

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
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+
~~~

0 commit comments

Comments
 (0)