christopher-paul-shaw/endpoint-checker
Composer 安装命令:
composer require christopher-paul-shaw/endpoint-checker
包简介
Get the HTTP Code returned for a batch of URLS
README 文档
README
This class accepts a payload with URLS and returns the array with the current status of the url
Usage
$runner = new CPS\EndpointChecker();
$payload = [
['url' => 'https://www.chris-shaw.com', 'title' => 'Authors Homepage'],
['url' => 'https://www.example.com', 'title' => 'Example Website'],
];
$result = $runner->process($payload);
Test
As features are added, there will be new tests to prove they work as intended. You can run the tests yourself using the following command.
vendor/bin/phpunit test
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-10-16