Download the PHP package nainlobato/laravel-cross-db-sq without Composer
On this page you can find all versions of the php package nainlobato/laravel-cross-db-sq. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nainlobato/laravel-cross-db-sq
More information about nainlobato/laravel-cross-db-sq
Files in nainlobato/laravel-cross-db-sq
Download nainlobato/laravel-cross-db-sq
More information about nainlobato/laravel-cross-db-sq
Files in nainlobato/laravel-cross-db-sq
Vendor nainlobato
Package laravel-cross-db-sq
Short Description Eloquent cross database compatibility in subqueries
License
Package laravel-cross-db-sq
Short Description Eloquent cross database compatibility in subqueries
License
Please rate this library. Is it a good library?
Informations about the package laravel-cross-db-sq
Laravel Cross database subqueries
Eloquent cross database compatibility in subqueries.
| Laravel | laravel-cross-database-subqueries | Lifecycle |
|---|---|---|
| ^5.5 | ^5.5 | January 24, 2017 |
| Bug fixes until January 2019 | ||
| Security fixes until June 2020 | ||
| ^5.6 | ^5.6 | February 7, 2018 |
| 6 months of bug fixes | ||
| 1 year of security |
Why do I need it?
To use the following Eloquent methods cross databases:
- has
- whereHas
- doesntHave
- whereDoesntHave
- withCount (except with prefixes)
Installation
Install with composer
composer require nainlobato/laravel-cross-db-sq
From Laravel 5.5 onwards, it's possible to take advantage of auto-discovery of the service provider. For Laravel versions before 5.5, you must register the service provider in your config/app.php
NainLobato\CrossDatabase\CrossDatabaseServiceProvider::class,
Usage
In your Models extends from:
- NainLobato\CrossDatabase\Eloquent\Model
Supported PHP Versions
- >=7.0
Supported Databases
- MySQL
- PostgreSQL
- SQL Server
Issues & Contributing
If you find an issue please report it or contribute by submitting a pull request.
Acknowledgement
This library is an updated version of the laravel-cross-database-subqueries library created by hoyvoy. Thank you
All versions of laravel-cross-db-sq with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.3
illuminate/support Version ^5.6
illuminate/container Version ^5.6
illuminate/database Version ^5.6
illuminate/events Version ^5.6
illuminate/support Version ^5.6
illuminate/container Version ^5.6
illuminate/database Version ^5.6
illuminate/events Version ^5.6
The package nainlobato/laravel-cross-db-sq contains the following files
Loading the files please wait ...