bepsvpt/website-links-validator

This package is abandoned and no longer maintained. No replacement package was suggested.

Validate links from a given website.

v0.1.0 2016-03-04 03:39 UTC

README

Build Status codecov.io StyleCI

Validate links from a given website.

Table of Contents

Installation

composer require bepsvpt/website-links-validator

Usage

<?php

$result = Bepsvpt\WebsiteLinksValidator\Validator::validate('https://www.google.com/', $config = []);

Or you can execute the validator from terminal, the result will save to result.json at current directory

php validate.php

Use -h argument to show the usage.

Config

name description default value
deep how deep it should validate 3
timeout the http timeout seconds 10.0

Testing

Note: The testing need a web server on localhost:8000 to complete the testing, the easiest way is using php built-in web server

php -S localhost:8000 -t ./tests/public

After service a web server, using phpunit to run the testing

phpunit

License

Laravel Security Header is licensed under The MIT License (MIT).