PHPackages                             samburns/phpspec-multi-formatter - 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. samburns/phpspec-multi-formatter

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

samburns/phpspec-multi-formatter
================================

A mutli-format outputter for PhpSpec

0.1.0(8y ago)110.4kPHPPHP ^7.0

Since Aug 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Sam-Burns/phpspec-multi-formatter)[ Packagist](https://packagist.org/packages/samburns/phpspec-multi-formatter)[ RSS](/packages/samburns-phpspec-multi-formatter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PhpSpec Multi-Formatter
=======================

[](#phpspec-multi-formatter)

A library that acts as a facade for two other PhpSpec formatters. Primarily intended for use on Continuous Integration servers. Allows you to use the 'dot formatter' and output a JUnit XML file in a single test run.

State of Development
--------------------

[](#state-of-development)

In alpha. Sort of works. Development/testing ongoing. Contributions welcome.

Use
---

[](#use)

Requires PhpSpec 4 and PHP 7.

```
composer require --dev samburns/phpspec-multi-formatter
```

In your `phpspec.yml` file:

```
extensions:
    "SamBurns\\PhpSpecMultiFormatter\\Extension":
        file: 'spec/junit.xml'
```

Running PhpSpec with the multi-formatter:

```
./vendor/bin/phpspec run --format=multiformatter
```

Development
-----------

[](#development)

Clone the repository and run Composer.

Run the following command from the project root:

```
./vendor/bin/phpspec r -c test/sampleapp/phpspec.yml --format=multiformatter
```

It should create a file called `./test/sampleapp/spec/junit-output/junit.xml` and do 'dot formatter' output at the same time. If it does, then you haven't broken anything.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3203d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9dc0c2d8bba727c2b30227f0e9eb327906ae55f4673bb48df1c846365e58d526?d=identicon)[Sam-Burns](/maintainers/Sam-Burns)

---

Top Contributors

[![Sam-Burns](https://avatars.githubusercontent.com/u/6594039?v=4)](https://github.com/Sam-Burns "Sam-Burns (5 commits)")

---

Tags

phpspec

### Embed Badge

![Health badge](/badges/samburns-phpspec-multi-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/samburns-phpspec-multi-formatter/health.svg)](https://phpackages.com/packages/samburns-phpspec-multi-formatter)
```

###  Alternatives

[bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

741.8M87](/packages/bossa-phpspec2-expect)[benconstable/phpspec-laravel

Test your Laravel applications with PhpSpec

144347.1k15](/packages/benconstable-phpspec-laravel)[akeneo/phpspec-skip-example-extension

Skip your PhpSpec examples through annotations

34978.5k11](/packages/akeneo-phpspec-skip-example-extension)[friends-of-phpspec/phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests

202.6M123](/packages/friends-of-phpspec-phpspec-code-coverage)[ciaranmcnulty/phpspec-typehintedmethods

Extension for phpspec to enhance generated methods

3089.3k31](/packages/ciaranmcnulty-phpspec-typehintedmethods)[rmiller/behat-spec

Behat and PhpSpec integration

5321.7k8](/packages/rmiller-behat-spec)

PHPackages © 2026

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