arcwindab / caller
v0.4
2021-10-17 20:14 UTC
Requires
- php: >=5.0
Suggests
- php: >=7.0
README
免责声明
用亚伯拉罕·林肯的话说
请原谅我用法语说
我的英语和代码中的技术术语不太好——我不是母语者。
对于可能引起的任何混淆,表示歉意。
安装
ArcWind Caller 可在 Packagist 上找到,并且通过 Composer 安装是推荐的方法。只需将以下行添加到您的 composer.json 文件中
"arcwindab/caller": "@dev"
或者运行
composer require arcwindab/caller
运行
<?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');