2017 © Pedro Peláez
 

library links-checker

Check urls contained in a file / Crawl sitemap.xml and find broken links

image

alc/links-checker

Check urls contained in a file / Crawl sitemap.xml and find broken links

  • Wednesday, December 7, 2016
  • by chemel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Links Checker

Install globaly


composer global require alc/links-checker # Make sure you have export PATH in your ~/bashrc export PATH=~/.config/composer/vendor/bin:$PATH

Usage

check:file command


# Check urls contained in file (one per line) phplchk check:file tests/input.txt # Check urls and write results in csv file phplchk check:file tests/input.txt -o tests/output.csv # Check urls from remote file phplchk check:file https://raw.githubusercontent.com/chemel/links-checker/master/tests/input.txt # Show help phplchk check:file --help

check:sitemap command


# Check sitemap.xml phplchk check:sitemap http://blog.chemel.fr/sitemap.xml # Check sitemap.xml and write results in csv file phplchk check:sitemap http://blog.chemel.fr/sitemap.xml -o output.csv # Crawl sitemap.xml and check links on each pages phplchk check:sitemap http://blog.chemel.fr/sitemap.xml --level=2 phplchk check:sitemap http://blog.chemel.fr/sitemap.xml -o output.csv --level=2 # Show help phplchk check:sitemap --help

sitemap:crawl command


# Dump sitemap urls phplchk sitemap:crawl http://blog.chemel.fr/sitemap.xml > sitemap.txt

check:seo command


# Check + extract meta title, description, keywords, canonical url phplchk check:seo tests/seo-input.txt tests/seo-output.csv

url:generator command


phplchk url:generator 'http://blog.chemel.fr/page/{1-10}/' > check-me.txt

The Versions

07/12 2016

dev-master

9999999-dev https://github.com/chemel/links-checker

Check urls contained in a file / Crawl sitemap.xml and find broken links

  Sources   Download

MIT

The Requires

 

http

07/12 2016

v1.1.1

1.1.1.0 https://github.com/chemel/links-checker

Check urls contained in a file / Crawl sitemap.xml and find broken links

  Sources   Download

MIT

The Requires

 

http

07/12 2016

v1.1.0

1.1.0.0 https://github.com/chemel/links-checker

Check urls contained in a file / Crawl sitemap.xml and find broken links

  Sources   Download

MIT

The Requires

 

http

07/12 2016

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/chemel/links-checker

Check urls contained in a file / Crawl sitemap.xml and find broken links

  Sources   Download

MIT

The Requires

 

http

07/12 2016

v1.0.0

1.0.0.0 https://github.com/chemel/links-checker

Check urls contained in a file / Crawl sitemap.xml and find broken links

  Sources   Download

MIT

The Requires

 

http