PHPackages                             jakoch/phpunit-headless - 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. jakoch/phpunit-headless

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

jakoch/phpunit-headless
=======================

Headless is a PhantomJS and SlimerJS integration for PHPUnit.

3371[1 issues](https://github.com/jakoch/phpunit-headless/issues)JavaScript

Since Jan 25Pushed 3y ago2 watchersCompare

[ Source](https://github.com/jakoch/phpunit-headless)[ Packagist](https://packagist.org/packages/jakoch/phpunit-headless)[ RSS](/packages/jakoch-phpunit-headless/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHPUnit Headless
================

[](#phpunit-headless)

BranchDownloadsUnit TestsCoverage[![Latest Stable Version](https://camo.githubusercontent.com/66a37140e55c135172d823879e804813e66e9fd24df09ae81d7481db8d5c9c1f/68747470733a2f2f706f7365722e707567782e6f72672f6a616b6f63682f706870756e69742d686561646c6573732f762f737461626c652e706e67)](https://packagist.org/packages/jakoch/phpunit-headless/)[![Total Downloads](https://camo.githubusercontent.com/8460cdb9513f259271e8fda4f0c78cf0a4d71c8a61074621652b641135e42137/68747470733a2f2f706f7365722e707567782e6f72672f6a616b6f63682f706870756e69742d686561646c6573732f642f746f74616c2e706e67)](https://packagist.org/packages/jakoch/phpunit-headless/)[![Build Status](https://camo.githubusercontent.com/ecc9ddb6faaf9b3fccd594bd1f6d1069b355de19a2c75695a1ad7dd4fc1f02f1/68747470733a2f2f7472617669732d63692e6f72672f6a616b6f63682f706870756e69742d686561646c6573732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/jakoch/phpunit-headless/)[![Code Coverage](https://camo.githubusercontent.com/f6cc9b15953d284e06570157ea7a040cf352c222e9a55aa5a7944c5b9db3466e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a616b6f63682f706870756e69742d686561646c6573732f6261646765732f636f7665726167652e706e673f733d64356631663364386436306163666163653961663537303338313261316237383234666363653763)](https://scrutinizer-ci.com/g/jakoch/phpunit-headless/)PHPUnit Headless is a PHPUnit extension which provides wrappers to PhantomJS and SlimerJS.

Information
-----------

[](#information)

PhantomJS is a headless browser running on WebKit as used by Google/Safari. It is not a test framework. Here tests are launched via PHPUnit as the test runner. It runs purely headless (no X11) on Linux and is ideal for continuous integration systems.

SlimerJS is a (not yet fully) headless browser helper running on XulRunner as used by Gecko/Firefox.

- Google support via [PhantomJS](http://phantomjs.org/) + [CasperJS](http://casperjs.org/) + jQuery
- Firefox support via [SlimerJS](http://slimerjs.org/) + [CasperJS](http://casperjs.org/) + jQuery
- [QUnit](http://qunitjs.com/) for Javascript unit-tests
- [YSlow](http://yslow.org/phantomjs/) for page performance analysis

Requirements
------------

[](#requirements)

Requirements are fetched via Composer.

- PHPUnit 4.\*
- PhantomJS 1.9.\*

Installation via Composer
-------------------------

[](#installation-via-composer)

Please use [Composer](http://getcomposer.org/) to download and install PHPUnit Headless as well as all of its dependencies. To add PHPUnit Headless as a local, per-project dependency to your project, you simply add the following line to your project's `composer.json` file.

```
{
    "require": {
        "jakoch/phpunit-headless": "dev-master"
    }
}

```

License
-------

[](#license)

- BSD 3-Clause License -

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.4% 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/3a4ac38be149d29b9cd37b203a37d3f1684a6aeeb28779105c86f358e226a7f4?d=identicon)[jakoch](/maintainers/jakoch)

---

Top Contributors

[![jakoch](https://avatars.githubusercontent.com/u/85608?v=4)](https://github.com/jakoch "jakoch (60 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

![Health badge](/badges/jakoch-phpunit-headless/health.svg)

```
[![Health](https://phpackages.com/badges/jakoch-phpunit-headless/health.svg)](https://phpackages.com/packages/jakoch-phpunit-headless)
```

###  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)
