PHP code example of wuwenhan / scanurl

1. Go to this page and download the library: Download wuwenhan/scanurl 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/ */

    

wuwenhan / scanurl example snippets

 php
$urls = [
    'http://www.apple.com',
    'http://php.net'
];
$scanner = new \wuwenhan\scanurl\src\Scanurl($urls);
print_r($scanner->getInvalidUrls());