There is no license information available for the latest version (v1.0.1) of this package.

Get the HTTP Code returned for a batch of URLS

v1.0.1 2018-10-16 14:36 UTC

This package is auto-updated.

Last update: 2021-10-17 03:42:04 UTC


This class accepts a payload with URLS and returns the array with the current status of the url


$runner = new CPS\EndpointChecker();
$payload = [
    ['url' => '', 'title' => 'Authors Homepage'],
    ['url' => '', 'title' => 'Example Website'],

$result = $runner->process($payload);


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