Download the PHP package johnhenry/craft-link-audit without Composer

On this page you can find all versions of the php package johnhenry/craft-link-audit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-link-audit

Stable Version Static Badge

Link Audit

Link Audit for Craft CMS

A broken link checker for Craft CMS 5. Links break on other people's sites and nobody tells you, so it goes through your stored content, checks each unique address once, and shows you the exact entries carrying the ones that are broken.

The thinking behind it

Most link checkers go page by page: load a page, check its links, move on to the next. That falls over on a site of any size. If your footer links to a supplier, that supplier is on every page you have, and a page-by-page checker will ask them about it thousands of times in one run. Sooner or later they block you for it, everything they host turns up as broken, and the report stops being believed.

Link Audit keeps one record per unique address instead. The footer link is checked once, however many pages carry it, and the plugin remembers every entry, field and site it appears in, so when it does break you can see where to go and fix it.

Verdicts are kept for a while rather than thrown away. A working link is trusted for 30 days before it is asked again. A broken one is rechecked the next day, so a fix shows up quickly. The first scan does the heavy lifting; the ones after it only look at what has gone stale.

It also knows the difference between a broken link and a host that will not talk to robots. LinkedIn, Cloudflare and their kind refuse automated requests no matter how healthy the link is, so those answers go on their own screen, marked Unverifiable, and are never counted as broken. A link that gives no answer at all is only called broken after it has failed a few times in a row, because one bad afternoon on somebody else's server is not news.

What it reads

Stored field values, not rendered pages:

Because it reads stored values, it sees links on entries that have no public URL, and it can tell you which field a link came from. Internal links are resolved against your own elements and routes rather than fetched over HTTP, and whatever those cannot answer for is asked for over HTTP, so a redirect rule in Retour or in your server config counts as the redirect it is rather than as a broken link.

There is a rendered crawl mode as well, for links hard-coded into templates. It is off by default, because fetching every page is the expensive way to do it.

Documentation

Full documentation is at johnhenry.ie/plugins/link-audit/docs.

Requirements

Accessibility

How accessible the plugin is, what's been checked, and how to report a problem are all in the accessibility statement.

Support

Need a hand? Open an issue on the GitHub Issues page.

License

This plugin is free to use under the MIT License.


John Henry - Craft CMS Plugins


All versions of craft-link-audit with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^5.6
johnhenry/craft-ip-guard Version ^1.3
php Version ^8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package johnhenry/craft-link-audit contains the following files

Loading the files please wait ...