PHPackages                             troodi/laravel-connection-pool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. troodi/laravel-connection-pool

ActiveLibrary[Database &amp; ORM](/categories/database)

troodi/laravel-connection-pool
==============================

Connection pooling for illuminate/database

01PHP

Since Sep 5Pushed 3y agoCompare

[ Source](https://github.com/Troodi/laravel-connection-pool)[ Packagist](https://packagist.org/packages/troodi/laravel-connection-pool)[ RSS](/packages/troodi-laravel-connection-pool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Connection Pool
=======================

[](#laravel-connection-pool)

[![Build Status](https://camo.githubusercontent.com/8522853a55fb6926347507ac64eaca20a35d7ea5f283060c00a5ea0fb002a9ad/68747470733a2f2f7472617669732d63692e636f6d2f6d696e6b2f6c61726176656c2d636f6e6e656374696f6e2d706f6f6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/mink/laravel-connection-pool)

Laravel Connection Pool allows you to take advantage of Laravel's [query builder](https://laravel.com/docs/8.x/queries) and [Eloquent ORM](https://laravel.com/docs/8.x/eloquent) in an asynchronous environment. Perform concurrent database operations through a familiar fluent interface without having to worry about locking contention, let alone what connection you are using.

**Note:** This package is a work in progress and is unsafe for use in production.

### Requirements

[](#requirements)

- PHP 7.4+ (CLI only)
- [Swoole](https://github.com/swoole/swoole-src) PHP extension

### Installation

[](#installation)

```
composer require x/laravel-connection-pool

```

### Usage

[](#usage)

```
// concurrent operations
go(fn () => Server::where('terminated_at', '
