PHP code example of yatsenkolesh / php-curlasync

1. Go to this page and download the library: Download yatsenkolesh/php-curlasync library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

yatsenkolesh / php-curlasync example snippets


  CurlAsync\Talk::instance('http://example.com') -> async() -> setPost(['id' => 228]) -> request('/services/updatePost'); // async php request

  composer