PHPackages                             augustash/backstop-js - 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. augustash/backstop-js

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

augustash/backstop-js
=====================

AugustAsh BackstopJS VRT setup

1.0.0(1y ago)012MITPHPPHP &gt;=7

Since Sep 17Pushed 1y ago4 watchersCompare

[ Source](https://github.com/augustash/backstop-drupal)[ Packagist](https://packagist.org/packages/augustash/backstop-js)[ RSS](/packages/augustash-backstop-js/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

August Ash Backstop JS VRT Tool
===============================

[](#august-ash-backstop-js-vrt-tool)

This tool will use a globally installed version of Backstop to run Visual Regression Testing on your machine using a local url and comparing to a live url.

---

To properly run this tool you will need to ensure you are on Node Version 16 or higher and first install Backstop JS globally. `npm install -g backstopjs`

Setup and Use
-------------

[](#setup-and-use)

1. `cd` into your project root
2. create a new directory called "tests" - `mkdir tests`
3. `cd` into the new "tests" directory - `cd tests`
4. Run `backstop init` to initialze backstop on this project
5. Return to the root of your project.
6. Ensure this package is installed with a `composer require augustash/backstop-js`
7. Run `composer backstop-setup` from the root of your project and input your local and live urls when prompted
8. `cd` back to the tests directory - `cd tests`
9. Create a reference point for backstop to check against - `backstop reference`
10. Run a test on your site once changes are made - `backstop test`
11. Review and update anything as needed.

---

Note that it is a good idea to remove reference and test images before committing anything.

---

Options
-------

[](#options)

- When running the `composer backstop-setup` command you will be prompted for a few input items.

    - The two required options will be your local DDEV url to test with along with the live url to reference.
    - By default the test with run against nodes 1-5, but you will be prompted to pass any additional you may want to test.
    - By default the `.captcha` is hidden from the tests so it will be rendered with a `visibility: hidden` option, you can also pass additional items if needed.
    - By default the `.eu-cookie-compliance-banner` is removed from the tests and these will be removed from the DOM, you can also pass additional items to this as needed.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

608d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cc8e38c0ae4454c5cba5af7c2568edd72238113544f29d322fe8b907330e637?d=identicon)[weberjacob](/maintainers/weberjacob)

---

Top Contributors

[![weberjacob](https://avatars.githubusercontent.com/u/6887858?v=4)](https://github.com/weberjacob "weberjacob (11 commits)")

### Embed Badge

![Health badge](/badges/augustash-backstop-js/health.svg)

```
[![Health](https://phpackages.com/badges/augustash-backstop-js/health.svg)](https://phpackages.com/packages/augustash-backstop-js)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[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)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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