PHP code example of lukasdev / scanner

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

    

lukasdev / scanner example snippets

 php
$urls = [
    'http://www.apple.com',
    'http://php.net',
    'http://sdfssdwerw.org'
];
$scanner = new \LukasDev\ModernPHP\Url\Scanner($urls);
print_r($scanner->getInvalidUrls());