Skip to content

yatsenkolesh/phpcurlasync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

PHPCurlAsync

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