PHPackages                             rmiller/phpspec-extension - 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. rmiller/phpspec-extension

ActiveBehat-extension[Testing &amp; Quality](/categories/testing)

rmiller/phpspec-extension
=========================

PhpSpec extension for Behat

0.5.0(9y ago)519.5k4[1 issues](https://github.com/richardmiller/PhpSpecExtension/issues)1MITPHPPHP &gt;=5.4

Since Nov 4Pushed 9y ago4 watchersCompare

[ Source](https://github.com/richardmiller/PhpSpecExtension)[ Packagist](https://packagist.org/packages/rmiller/phpspec-extension)[ Docs](https://github.com/richardmiller/PhpSpecExtension)[ RSS](/packages/rmiller-phpspec-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (9)Used By (1)

PhpSpecExtension
================

[](#phpspecextension)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/97fef3270940fd12daab4191d820b1ad214662a40e40c316d22398d38f18ac15/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726963686172646d696c6c65722f50687053706563457874656e73696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/richardmiller/PhpSpecExtension/?branch=master)[![Build Status](https://camo.githubusercontent.com/700f195c53356e6a48000c193890109a82c48d407891071c8cc80fecbb5c002c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726963686172646d696c6c65722f50687053706563457874656e73696f6e2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/richardmiller/PhpSpecExtension/build-status/master)

Behat extension to run phpspec desc command automatically for missing classes.

For more explanation and additional related functionality see [BehatSpec](https://github.com/richardmiller/BehatSpec). Which uses this extension in combination with others to provide integration between [Behat](http://docs.behat.org/en/v3.0/) and [PhpSpec](http://phpspec.net/).

If you do want to use this extension standalone, it requires:

- Behat 3.0+
- PHP 5.6+

The easiest way to install it is to use Composer

```
$ composer require --dev rmiller/phpspec-extension:^0.5

```

Activate the extension by specifying its class in your `behat.yml`:

```
# behat.yml
default:
  # ...
  extensions:
    RMiller\BehatSpec\Extension\PhpSpecExtension\PhpSpecExtension:
      path:  bin/phpspec #default value is bin/phpspec
      config:  path/to/phpspec.yml #optional
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~135 days

Recently: every ~102 days

Total

7

Last Release

3393d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/442882d0e62a3acd7f3480cc8a07beeb3098dadbaaecb501eea945374ce55e1b?d=identicon)[mr\_r\_miller](/maintainers/mr_r_miller)

---

Top Contributors

[![pocky](https://avatars.githubusercontent.com/u/204451?v=4)](https://github.com/pocky "pocky (7 commits)")[![ek9](https://avatars.githubusercontent.com/u/17393048?v=4)](https://github.com/ek9 "ek9 (6 commits)")

---

Tags

BDDBehatphpspec

### Embed Badge

![Health badge](/badges/rmiller-phpspec-extension/health.svg)

```
[![Health](https://phpackages.com/badges/rmiller-phpspec-extension/health.svg)](https://phpackages.com/packages/rmiller-phpspec-extension)
```

###  Alternatives

[sensiolabs/behat-page-object-extension

Page object extension for Behat

1166.5M27](/packages/sensiolabs-behat-page-object-extension)[laracasts/behat-laravel-extension

Laravel extension for Behat

2611.3M12](/packages/laracasts-behat-laravel-extension)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[bex/behat-extension-driver-locator

Driver locator tool for behat extensions

385.2M4](/packages/bex-behat-extension-driver-locator)[ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

601.6M5](/packages/ciaranmcnulty-behat-stepthroughextension)[shvetsgroup/parallelrunner

Parallel runner extension for Behat

74143.5k](/packages/shvetsgroup-parallelrunner)

PHPackages © 2026

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