Download the PHP package urisavka/site-checker without Composer
On this page you can find all versions of the php package urisavka/site-checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download urisavka/site-checker
More information about urisavka/site-checker
Files in urisavka/site-checker
Package site-checker
Short Description Check site for broken links and moved/deleted files
License MIT
Informations about the package site-checker
Site Checker
Recursively checks site for broken links, missing images, css and javascript files starting from giving URL and discovering all links on pages.
Installation
For console usage
git clone [email protected]:urisavka/site-checker.git && cd site-checker && composer update --no-dev
For usage in a project
composer require urisavka/site-checker
Configuration
Copy config/app.json.default
into config/app.json
and add whatever you want there.
You could also specify custom cookies to be sent with request.
Excluded URLs can be defined as regular expressions in PCRE format. Use excludedUrls
option.
You may also include set of custom included Urls that are not accessible from your home page. Use includedUrls
option.
If you define reportEmail
parameter, email will be sent after checking with a list of broken links (if any).
You can also define reportEMailFrom
value to set From:
field for your emails.
See config/app.json.default
for example.
Usage
Console tool: sitechecker [-e|--check-external] [-s|--log-success] [-f|--full-html] [--] <site>
From your code:
See CheckCommand and ConsoleObserver for real usage.
All versions of site-checker with dependencies
guzzlehttp/guzzle Version ^6.1
psr/log Version ^1.0
symfony/dom-crawler Version ^2.7
phpmailer/phpmailer Version ^5.2