susucool527237808 / morden-php-scanner

scanner example from Josh Lockhart's book "Modern PHP" by O'Reilly (2015).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL Scanner

It is just an educational test project. It is a slightly modified example from Josh Lockhart's book "Modern PHP" by O'Reilly (2015).

Scan an array of URLs and report inaccessible URLs

Install

Via Composer

$ composer require susucool/scanner dev-main

Usage

$urls = [
    'http://www.apple.com',
    'http://php.net',
    'http://sdfssdwerw.org'
];
$scanner = new \Susucool\Scanner\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.

About

scanner example from Josh Lockhart's book "Modern PHP" by O'Reilly (2015).

License:MIT License


Languages

Language:PHP 100.0%