2017 © Pedro Peláez
 

library site-checker

Check site for broken links and moved/deleted files

image

urisavka/site-checker

Check site for broken links and moved/deleted files

  • Monday, February 8, 2016
  • by urisavka
  • Repository
  • 2 Watchers
  • 4 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 125 % Grown

The README.md

Site Checker

Build Status Scrutinizer Code Quality SensioLabsInsight, (*1)

Recursively checks site for broken links, missing images, css and javascript files starting from giving URL and discovering all links on pages., (*2)

Installation

For console usage

git clone git@github.com:urisavka/site-checker.git && cd site-checker && composer update --no-dev, (*3)

For usage in a project

composer require urisavka/site-checker, (*4)

Configuration

Copy config/app.json.default into config/app.json and add whatever you want there., (*5)

You could also specify custom cookies to be sent with request., (*6)

Excluded URLs can be defined as regular expressions in PCRE format. Use excludedUrls option., (*7)

You may also include set of custom included Urls that are not accessible from your home page. Use includedUrls option., (*8)

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., (*9)

See config/app.json.default for example., (*10)

Usage

Console tool: sitechecker [-e|--check-external] [-s|--log-success] [-f|--full-html] [--] <site>, (*11)

From your code:, (*12)

$siteChecker = SiteChecker::create();
$siteChecker->check('http://gooogle.com');
$results = $siteChecker->getResults();

See CheckCommand and ConsoleObserver for real usage., (*13)

The Versions

08/02 2016

dev-master

9999999-dev

Check site for broken links and moved/deleted files

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yurii Savka

22/01 2016

dev-feature/local-files

dev-feature/local-files

Check site for broken links and moved/deleted files

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yurii Savka

21/01 2016

1.0.0

1.0.0.0

Check site for broken links and moved/deleted files

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yurii Savka