arcwindab / caller
v0.4
2021-10-17 20:14 UTC
Requires
- php: >=5.0
Suggests
- php: >=7.0
README
Disclaimer
In the words of Abraham Lincoln:
Pardon my French
My English, and technical terms in code, is not very good - I'm not a native speaker.
Sorry for any confusion that may occur.
Install
ArcWind Caller is available on Packagist and installation via Composer is the recommended way to install ArcWind Caller. Just add this line to your composer.json file:
"arcwindab/caller": "@dev"
or run
composer require arcwindab/caller
Run
<?php
//Load Composer's autoloader
require 'vendor/autoload.php';
//Create an instance; passing my own user agent
$caller = new arcwindab\caller('My custom UA');
echo $caller->get('https://filesamples.com/samples/document/txt/sample1.txt');