catpow/simple-broken-link-finder

Check broken links in html and php files, not perfect but fast

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/catpow/simple-broken-link-finder

v0.0.3 2024-05-09 08:03 UTC

This package is auto-updated.

Last update: 2025-12-09 11:30:09 UTC


README

So simple broken link finder.

Can't recognize is in comment or not. Can't resolve dynamic url. Ignore external link. Ignore url param.

But fast.

How To Use

require_once(__DIR__.'/vendor/autoload.php');

$broken_links=Catpow\SimpleBrokenLinkFinder\SimpleBrokenLinkFinder::search(__DIR__.'/public_html');

foreach($broken_links as $broken_link_uri=>$pages){
  printf("%s was missing in %s\n",$broken_link_uri,implode(' and ',$pages));
}