Download the PHP package christopher-paul-shaw/endpoint-checker without Composer
On this page you can find all versions of the php package christopher-paul-shaw/endpoint-checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download christopher-paul-shaw/endpoint-checker
More information about christopher-paul-shaw/endpoint-checker
Files in christopher-paul-shaw/endpoint-checker
Download christopher-paul-shaw/endpoint-checker
More information about christopher-paul-shaw/endpoint-checker
Files in christopher-paul-shaw/endpoint-checker
Vendor christopher-paul-shaw
Package endpoint-checker
Short Description Get the HTTP Code returned for a batch of URLS
License
Package endpoint-checker
Short Description Get the HTTP Code returned for a batch of URLS
License
Please rate this library. Is it a good library?
Informations about the package endpoint-checker
Summary
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
All versions of endpoint-checker with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.4
The package christopher-paul-shaw/endpoint-checker contains the following files
Loading the files please wait ....