woofmang/scanner

Scan an array of URLs and report inaccessible URLs (from Josh Lockhart's Modern PHP)

v1.0.0 2017-04-05 13:04 UTC

This package is not auto-updated.

Last update: 2024-03-16 22:55:26 UTC


README

Scan an array of URLs and report inaccessible URLs

Install

Via Composer

$ composer require modernphp/scanner

Usage

$urls = [
    'http://www.apple.com',
    'http://php.net',
    'http://sdfssdwerw.org'
];
$scanner = new \Woofmang\ModernPHP\Url\Scanner($urls);
print_r($scanner->getInvalidUrls());

Testing

Tests unavailable.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.