gustavomorais / scannerurls
Scan URLs from CSV file and report inaccessible URLs
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gustavomorais/scannerurls
Requires
- guzzlehttp/guzzle: ^7.3
- league/csv: ^9.7
This package is auto-updated.
Last update: 2025-09-26 01:47:52 UTC
README
This component validates if an url is responding correctly
Installation
composer require gustavomorais/scannerurls
Usage 1
use Gustavo\Morais\Url\Scanner; $urls = [ "https://jsonplaceholder.typicode.com/posts", "http://localhost:8000/api/posts", "https://jsonplaceholder.typicode.com/todos" ]; $scanner = new Scanner($urls); print_r(json_encode($scanner->validateUrls()));
Usage 2
require 'vendor/autoload.php'; $urls = [ "https://jsonplaceholder.typicode.com/posts", "http://localhost:8000/api/posts", "https://jsonplaceholder.typicode.com/todos" ]; $scanner = new Gustavo\Morais\Url\Scanner($urls); print_r(json_encode($scanner->validateUrls()));