PHPackages                             terminus-plugin-project/terminus-wraith-plugin - 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. terminus-plugin-project/terminus-wraith-plugin

ActiveTerminus-plugin[Testing &amp; Quality](/categories/testing)

terminus-plugin-project/terminus-wraith-plugin
==============================================

Wraith - A Terminus plugin to assist with visual regression testing of Pantheon site environments.

1.0.5(9y ago)135MITPHPPHP ^5.5 || ^7.0

Since Apr 23Pushed 7y ago2 watchersCompare

[ Source](https://github.com/terminus-plugin-project/terminus-wraith-plugin)[ Packagist](https://packagist.org/packages/terminus-plugin-project/terminus-wraith-plugin)[ Docs](https://github.com/terminus-plugin-project/terminus-wraith-plugin)[ RSS](/packages/terminus-plugin-project-terminus-wraith-plugin/feed)WikiDiscussions 1.x Synced 2w ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Terminus Wraith Plugin
======================

[](#terminus-wraith-plugin)

[![CircleCI](https://camo.githubusercontent.com/4b6c6b53a4714d4f3b0473948a12d8b31bc94947883cdcc0d263c610462c6f44/68747470733a2f2f636972636c6563692e636f6d2f67682f7465726d696e75732d706c7567696e2d70726f6a6563742f7465726d696e75732d7772616974682d706c7567696e2e7376673f7374796c653d736869656c64)](https://circleci.com/gh/terminus-plugin-project/terminus-wraith-plugin)[![Terminus v1.x Compatible](https://camo.githubusercontent.com/9ea8fb0893368c0b24f172cc2df676fa4bb7246d14c0377b7924a6918065be26/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7465726d696e75732d76312e782d677265656e2e737667)](https://github.com/terminus-plugin-project/terminus-wraith-plugin/tree/1.x)

Wraith - A Terminus plugin to assist with visual regression testing of [Pantheon](https://pantheon.io/) site environments.

Usage:
------

[](#usage)

```
$ terminus wraith [--sites site-name.test,site-name.prod --paths home=/,about=/about,news=/news,... --config --spider]

```

Examples:
---------

[](#examples)

Use the previous configuration or prompt for the environments and pages to compare and then generate snapshots:

```
$ terminus wraith

```

Prompt for the environments and pages to compare and then generate snapshots:

```
$ terminus wraith --config

```

Prompt for new pages to compare the my-site.test and my-site.prod environments and then generate snapshots:

```
$ terminus wraith --sites my-site.test,my-site.prod

```

Prompt for new environments to compare the /, /about and /news pages and then generate snapshots:

```
$ terminus wraith --paths home=/,about=/about,news=/news

```

Use the previous configuration or prompt for new environments, crawl to detect pages and then generate snapshots:

```
$ terminus wraith --spider

```

Installation:
-------------

[](#installation)

For installation help, see [Extend with Plugins](https://pantheon.io/docs/terminus/plugins/).

```
mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-wraith-plugin:~1

```

Configuration:
--------------

[](#configuration)

Install [Wraith](http://bbc-news.github.io/wraith/) for your [operating system](http://bbc-news.github.io/wraith/os-install.html). See .

Testing:
--------

[](#testing)

Replace `my-site.test` and `my-site.prod` with the site environments you want to test:

```
export TERMINUS_SOURCE_SITE_ENV=my-site.test
export TERMINUS_TARGET_SITE_ENV=my-site.prod
cd ~/.terminus/plugins/terminus-wraith-plugin
composer install
composer test

```

Help:
-----

[](#help)

Run `terminus help wraith` for help.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~167 days

Total

8

Last Release

2687d ago

Major Versions

1.x-dev → 2.x-dev2019-02-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24785343?v=4)[Terminus Plugin Project](/maintainers/terminus-plugin-project)[@terminus-plugin-project](https://github.com/terminus-plugin-project)

---

Top Contributors

[![uberhacker](https://avatars.githubusercontent.com/u/387945?v=4)](https://github.com/uberhacker "uberhacker (16 commits)")

---

Tags

composerpantheonpluginregressionregression-testingterminusterminus-plugintestingtesting-toolswraithplugintestingpantheonregressionterminuswraith

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/terminus-plugin-project-terminus-wraith-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/terminus-plugin-project-terminus-wraith-plugin/health.svg)](https://phpackages.com/packages/terminus-plugin-project-terminus-wraith-plugin)
```

PHPackages © 2026

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