susucool / scanner
Scan an array of URLs and report inaccessible URLs
dev-main
2021-06-02 21:37 UTC
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ~5.0
Requires (Dev)
- phpunit/phpunit: ~4.3
Suggests
- league/csv: Lets you quickly parse URLs from CSV data into an array
This package is not auto-updated.
Last update: 2024-04-19 10:21:05 UTC
README
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.