yatsenkolesh/php-curlasync

Make curl asynchronous queries with php.

0.1.6 2017-04-08 20:22 UTC

This package is not auto-updated.

Last update: 2024-11-20 19:36:50 UTC


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