looking4soul/urlscanner

Scan urls and report inaccessible urls.

1.0.0 2016-11-20 04:42 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:20:45 UTC


README

#Url Scanner

Software License

Scan urls and report inaccessible urls.

##Install

Via Composer

$ composer require looking4soul/urlscanner

##Usage

<?php
require 'vendor/autoload.php';

$urls = [
	'http://www.baidu.com',
	'http://www.apple.com',
	'http://www.bad_link.com',
];
$s = new \Looking4soul\UrlScanner\UrlScanner($urls);
print_r($s->getInvalidUrls());

##Testing

$ composer test

##Security

If you discover any security related issues, please email x.mail.i@qq.com instead of using the issue tracker.

##Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

##Credits

##License

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