PHP code example of looking4soul / urlscanner
1. Go to this page and download the library: Download looking4soul/urlscanner library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
looking4soul / urlscanner example snippets
s = [
'http://www.baidu.com',
'http://www.apple.com',
'http://www.bad_link.com',
];
$s = new \Looking4soul\UrlScanner\UrlScanner($urls);
print_r($s->getInvalidUrls());