yatsenkolesh / php-curlasync
Make curl asynchronous queries with php.
0.1.6
2017-04-08 20:22 UTC
Requires
- yatsenkolesh/php-curlasync: ^0.1.6
README
Make curl asynchronous queries with php.
Require php version >= 5, but with php 5 async request will be executed 1s vs php 7 - 50ms
Code example
CurlAsync\Talk::instance('http://example.com') -> async() -> setPost(['id' => 228]) -> request('/services/updatePost'); // async php request
To install with composer
composer require yatsenkolesh/php-curlasync