https://github.com/rinu/multi-curl
Parallel curl requests and working while waiting
https://github.com/rinu/multi-curl
curl-multi php7
Last synced: 3 months ago
JSON representation
Parallel curl requests and working while waiting
- Host: GitHub
- URL: https://github.com/rinu/multi-curl
- Owner: rinu
- Created: 2018-02-21T07:17:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-30T09:11:34.000Z (about 4 years ago)
- Last Synced: 2025-12-14T22:05:57.965Z (6 months ago)
- Topics: curl-multi, php7
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MultiCurl
The MultiCurl class allows you to execute arbitrary code while waiting for responses.
Code can run between reading responses or before the first response.
## Usage
For examples, see `example.php` and `example-callback.php`
To run the examples, run `composer install`.
Make `public/sleep.php` available via your web server and change the URL in `bootstrap.php`
## Installation
This package can be installed via composer `composer require rinu/multi-curl`