A PHP based HTML Scraper app which scrapes a given URL and returns a JSON array of the results.
The app is built in Slim Framework 3, and uses PHP Simple HTML DOM Parser.
-
To install the app, run
composer install -
To run the app in the console, run
php console.php /processin thepublicfolder -
To run the app in the browser, browse to
/public, e.g:http://localhost/html-scraper/public -
To run tests, run
phpunitin the root folder