PHP code example of arcwindab / caller

1. Go to this page and download the library: Download arcwindab/caller 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/ */

    

arcwindab / caller example snippets



//Load Composer's autoloader
own user agent
$caller = new arcwindab\caller('My custom UA');
echo $caller->get('https://filesamples.com/samples/document/txt/sample1.txt');