Download the PHP package norberttech/md-link-linter without Composer
On this page you can find all versions of the php package norberttech/md-link-linter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download norberttech/md-link-linter
More information about norberttech/md-link-linter
Files in norberttech/md-link-linter
Informations about the package md-link-linter
Markdown Link Linter
Simple command line tool that aims to detect invalid links in markdown files.
Currently following types of links are being validated:
- relative links
- anchor links
- mention links
Use with Docker:
First argument path
can be skipped or overwritten by environment variable MD_LINTER_SCAN_DIR
When both, argument path and environment variable are present, environment variable takes priority.
Validating mentions
Using --mention
option you can set allowed mentions
If not used, mention link assertion will always pass.
Installation
Docker
Recommended - md-link-linter is not a type of tool you want to put into your project as a dependency because it comes with it own dependencies that might overlaps with yours.
Docker Hub - norberttech/md-link-linter
Composer
Phive
Since md-link-linter relay on \realpath
function which does not work in Phar environment (explanation below)
there are no plans for now to make it available through phive.
The function realpath() will not work for a file which is inside a Phar as such path would be a virtual path, not a real one.
php.net realpath documentation
Development
Install dependencies
Run tests
Codding standards
This command might change your code!
All versions of md-link-linter with dependencies
ext-dom Version *
ext-mbstring Version *
cocur/slugify Version ^3.2 || ^4.0
erusev/parsedown Version ^1.7
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/console Version ^3.4||^4.4||^5.0||^6.0