PHPackages                             mamchenkov/web-tester - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. mamchenkov/web-tester

ActiveLibrary[Testing &amp; Quality](/categories/testing)

mamchenkov/web-tester
=====================

A collection of PHPUnit tests for public website sanity check

011PHP

Since Sep 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/mamchenkov/Web-Tester)[ Packagist](https://packagist.org/packages/mamchenkov/web-tester)[ RSS](/packages/mamchenkov-web-tester/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Web-Tester
==========

[](#web-tester)

Web-Tester is a collection of the PHPUnit tests which can be executed against any publicly available website. These are thrown together to make sure the most common things aren't missed out when deploying web projects:

- 200 status code for the website front page
- 301 redirect for www/no-www
- 200 status code and icon content type for the favicon.ico
- 200 status code and text/plain for the robots.txt
- At least one Sitemap URL in robots.txt
- 200 status code for any Sitemap URL in robots.txt

Install
-------

[](#install)

Install with Composer:

```
{
	require: {
		"mamchenkov/web-tester": "dev-master"
	}
}

```

Usage
-----

[](#usage)

Run all tests with default options for a given domain:

```
$ vendor/bin/web_tester.sh http://www.domain.com

```

More control is available via `web_tester.json` file. Here is an example:

```
{
    "site": "http://www.google.com",
    "timeout": "2",
    "skip": [
		"WebTester\\BasicTest",
		"WebTester\\FaviconTest",
		"WebTester\\RobotsTest"
	]
}

```

The URL of the site can be ommitted when it is present in the configuration file:

```
$ vendor/bin/web_tester.sh

```

TODO
----

[](#todo)

- HTTPS check
- Custom 404 page check
- Custom 500 page check
- RSS feed autodiscovery check
- Absense of 404 links (recursive? long?)
- HTML/CSS/JS being minimized (recursive? long?)
- Images are optimized (recursive? long?)
- Response times check (recursive? long?)
- SEO checks (page title, description, h1 tags, ALT tags)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?d=identicon)[mamchenkov](/maintainers/mamchenkov)

---

Top Contributors

[![mamchenkov](https://avatars.githubusercontent.com/u/437928?v=4)](https://github.com/mamchenkov "mamchenkov (29 commits)")

---

Tags

phpphpunitrobots

### Embed Badge

![Health badge](/badges/mamchenkov-web-tester/health.svg)

```
[![Health](https://phpackages.com/badges/mamchenkov-web-tester/health.svg)](https://phpackages.com/packages/mamchenkov-web-tester)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
