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

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

sunveloper/phpspec-phpspec
==========================

Specification-oriented BDD framework for PHP 7.1+

6.2.2(5y ago)021MITPHPPHP ^7.3, &lt;8.0

Since Oct 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sunveloper/phpspec-phpspec)[ Packagist](https://packagist.org/packages/sunveloper/phpspec-phpspec)[ Docs](http://phpspec.net/)[ RSS](/packages/sunveloper-phpspec-phpspec/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (12)Versions (3)Used By (1)

phpspec
=======

[](#phpspec)

The main website with documentation is at .

[![Master Travis Build Status](https://camo.githubusercontent.com/7727e783d56f226a03ca70ae99d24af3f63b31881c5ebb423d8b0ea19b6b4e5b/68747470733a2f2f7472617669732d63692e6f72672f706870737065632f706870737065632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpspec/phpspec)[![Master Scrutinizer Quality Score](https://camo.githubusercontent.com/48b447a95dd92e2b16ae65da131e75a78902ec1743a5b4c9cc0dba724fd944c7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f706870737065632f706870737065632e737667)](https://scrutinizer-ci.com/g/phpspec/phpspec/build-status/master)[![AppVeyor build status](https://camo.githubusercontent.com/40ec907cb6f83d25e29d94a28f25ba8085f257d809a488dd07d04e55a24a7d5d/68747470733a2f2f696d672e736869656c64732e696f2f6170707665796f722f63692f63696172616e6d636e756c74792f706870737065632f6d61737465722e737667)](https://ci.appveyor.com/project/ciaranmcnulty/phpspec/branch/master)[![Total downloads](https://camo.githubusercontent.com/58ede78159e3c04df55360458e7d6400160bd79a0349188d485cc310f48c7943/68747470733a2f2f706f7365722e707567782e6f72672f706870737065632f706870737065632f646f776e6c6f6164732e706e67)](https://poser.pugx.org/phpspec/phpspec/downloads)[![Latest stable version](https://camo.githubusercontent.com/9733bc353f5a4a234255fe1b5dbf783b727d27668a8f34f8063ad8c559d5a767/68747470733a2f2f706f7365722e707567782e6f72672f706870737065632f706870737065632f762f737461626c652e706e67)](https://poser.pugx.org/phpspec/phpspec/v/stable)[![Latest unstable version](https://camo.githubusercontent.com/32490e2b02eb929829f55d431296169f670970d5bc417f5bf0059056fc758847/68747470733a2f2f706f7365722e707567782e6f72672f706870737065632f706870737065632f762f756e737461626c652e706e67)](https://poser.pugx.org/phpspec/phpspec/v/unstable)[![Software license](https://camo.githubusercontent.com/3d647eec9fea7797fd778ca988ed67ce6c76d1616c5d9a41ce9fedc846fa1c02/68747470733a2f2f706f7365722e707567782e6f72672f706870737065632f706870737065632f6c6963656e73652e706e67)](https://poser.pugx.org/phpspec/phpspec/license)Installing Dependencies
-----------------------

[](#installing-dependencies)

Dependencies are handled via [composer](https://getcomposer.org):

```
wget -nc https://getcomposer.org/composer.phar
php composer.phar install
```

Developer's mailing list
------------------------

[](#developers-mailing-list)

For development discussion subscribe to .

Community
---------

[](#community)

Check out #phpspec on irc.freenode.net.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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 ~0 days

Total

2

Last Release

2038d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9681770f6a38904fed365d5465307bf69efe9c1fc4af1d12f0f6d3cf8e0bfcf8?d=identicon)[sunveloper](/maintainers/sunveloper)

---

Top Contributors

[![sunveloper](https://avatars.githubusercontent.com/u/50315313?v=4)](https://github.com/sunveloper "sunveloper (2 commits)")

---

Tags

testingspecificationBDDTDDtestsspecSpecBDD

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

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

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)[codeception/codeception

All-in-one PHP Testing Framework

4.9k86.2M2.9k](/packages/codeception-codeception)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)[phpbench/phpbench

PHP Benchmarking Framework

2.0k13.0M627](/packages/phpbench-phpbench)

PHPackages © 2026

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