Download the PHP package shado/php-resource-pool without Composer
On this page you can find all versions of the php package shado/php-resource-pool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shado/php-resource-pool
More information about shado/php-resource-pool
Files in shado/php-resource-pool
Download shado/php-resource-pool
More information about shado/php-resource-pool
Files in shado/php-resource-pool
Vendor shado
Package php-resource-pool
Short Description A PHP library providing resource pooling support, commonly used as a database connection pool.
License MIT
Package php-resource-pool
Short Description A PHP library providing resource pooling support, commonly used as a database connection pool.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-resource-pool
shado/php-resource-pool
A PHP library providing resource pooling support, commonly used as a database connection pool.
Resource pooling allows you to easily manage a range of concurrently maintained resources. You can define how many of them can be created or which algorithm should be used for selecting the next resource from the pool.
The library includes two implementations of the pool:
ResourcePool
– provides basic pooling logic, including borrowing and returning resources.AsyncResourcePool
– a ReactPHP-based implementation that adds resource retry functionality to the basic features.
Requirements
- PHP >= 8.1
[!TIP] Thanks to Fibers, you can freely use the ReactPHP-based implementation in your traditional PHP projects.
Example
At the end...
- Run tests:
./vendor/bin/phpunit tests
. - Feel free to create an issue or submit your PR! 🤗
- Licence: MIT.
All versions of php-resource-pool with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
react/event-loop Version ^1.5
react/promise Version ^3.2
react/async Version ^4.3
react/event-loop Version ^1.5
react/promise Version ^3.2
react/async Version ^4.3
The package shado/php-resource-pool contains the following files
Loading the files please wait ....