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

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

8823-scholar/phpspec
====================

Specification-oriented BDD framework for PHP 5.3+

1.4.3(13y ago)062LGPLPHPPHP &gt;=5.3.2

Since Aug 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/8823-scholar/phpspec)[ Packagist](https://packagist.org/packages/8823-scholar/phpspec)[ Docs](http://phpspec.net)[ RSS](/packages/8823-scholar-phpspec/feed)WikiDiscussions me/master Synced 4w ago

READMEChangelogDependencies (2)Versions (13)Used By (0)

phpspec
=======

[](#phpspec)

The main website with documentation is at .

[![Master Travis Build Status](https://camo.githubusercontent.com/7727e783d56f226a03ca70ae99d24af3f63b31881c5ebb423d8b0ea19b6b4e5b/68747470733a2f2f7472617669732d63692e6f72672f706870737065632f706870737065632e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/phpspec/phpspec)[![Master Scrutinizer Quality Score](https://camo.githubusercontent.com/00cbb9d80639a3b4ab6636fe0c138bb006a138d7e099b2a7c4300e6f0bc3dab3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706870737065632f706870737065632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phpspec/phpspec/build-status/master)[![AppVeyor build status](https://camo.githubusercontent.com/8c3af1efa3c7a750cf5522a5a32b7d6b649b4b1944192164a21b18dc35800da1/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f776365346e756e39726537366f6370362f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/ciaranmcnulty/phpspec/branch/master)Installing Dependencies
-----------------------

[](#installing-dependencies)

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

```
wget -nc http://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

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~57 days

Total

8

Last Release

4790d ago

Major Versions

1.4.3 → 2.0.0-BETA12013-04-29

PHP version history (2 changes)1.4.0PHP &gt;=5.3.2

2.0.0-BETA1PHP &gt;=5.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/81ec8b8cc98145a80ccae4dfa89dbbb045ecabf3aef2dc736e35870eb8e29aa8?d=identicon)[8823-scholar](/maintainers/8823-scholar)

---

Top Contributors

[![MarcelloDuarte](https://avatars.githubusercontent.com/u/144535?v=4)](https://github.com/MarcelloDuarte "MarcelloDuarte (516 commits)")[![ciaranmcnulty](https://avatars.githubusercontent.com/u/237866?v=4)](https://github.com/ciaranmcnulty "ciaranmcnulty (470 commits)")[![padraic](https://avatars.githubusercontent.com/u/19780?v=4)](https://github.com/padraic "padraic (167 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (65 commits)")[![richardmiller-zz](https://avatars.githubusercontent.com/u/783827?v=4)](https://github.com/richardmiller-zz "richardmiller-zz (56 commits)")[![shanethehat](https://avatars.githubusercontent.com/u/604650?v=4)](https://github.com/shanethehat "shanethehat (50 commits)")[![Elfiggo](https://avatars.githubusercontent.com/u/2065652?v=4)](https://github.com/Elfiggo "Elfiggo (41 commits)")[![mlopes](https://avatars.githubusercontent.com/u/654?v=4)](https://github.com/mlopes "mlopes (36 commits)")[![everzet](https://avatars.githubusercontent.com/u/30813?v=4)](https://github.com/everzet "everzet (35 commits)")[![gquemener](https://avatars.githubusercontent.com/u/668604?v=4)](https://github.com/gquemener "gquemener (33 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (32 commits)")[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (28 commits)")[![jakzal](https://avatars.githubusercontent.com/u/190447?v=4)](https://github.com/jakzal "jakzal (27 commits)")[![avant1](https://avatars.githubusercontent.com/u/2902785?v=4)](https://github.com/avant1 "avant1 (14 commits)")[![m-takagi](https://avatars.githubusercontent.com/u/10872?v=4)](https://github.com/m-takagi "m-takagi (13 commits)")[![tswicegood](https://avatars.githubusercontent.com/u/4328?v=4)](https://github.com/tswicegood "tswicegood (10 commits)")[![marek-pietrzak-tg](https://avatars.githubusercontent.com/u/2435655?v=4)](https://github.com/marek-pietrzak-tg "marek-pietrzak-tg (10 commits)")[![chobie](https://avatars.githubusercontent.com/u/195038?v=4)](https://github.com/chobie "chobie (9 commits)")[![docteurklein](https://avatars.githubusercontent.com/u/109846?v=4)](https://github.com/docteurklein "docteurklein (9 commits)")[![DerMonozukurist](https://avatars.githubusercontent.com/u/5939615?v=4)](https://github.com/DerMonozukurist "DerMonozukurist (7 commits)")

---

Tags

testBDDspec

### Embed Badge

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

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

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k516.1M26.2k](/packages/mockery-mockery)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M38.9k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k37.2M3.2k](/packages/phpspec-phpspec)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36919.3M119](/packages/php-mock-php-mock)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1448.1M254](/packages/polishsymfonycommunity-symfony-mocker-container)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.7M511](/packages/php-mock-php-mock-phpunit)

PHPackages © 2026

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