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

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

cordoval/phpspec
================

Specification-oriented BDD framework for PHP 5.3+

1.4.3(13y ago)31.1k1LGPLPHPPHP &gt;=5.3.2

Since Jan 24Pushed 11y agoCompare

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

READMEChangelogDependencies (2)Versions (17)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)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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity66

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

4744d 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://avatars.githubusercontent.com/u/328359?v=4)[Luis Cordova](/maintainers/cordoval)[@cordoval](https://github.com/cordoval)

---

Top Contributors

[![MarcelloDuarte](https://avatars.githubusercontent.com/u/144535?v=4)](https://github.com/MarcelloDuarte "MarcelloDuarte (516 commits)")[![padraic](https://avatars.githubusercontent.com/u/19780?v=4)](https://github.com/padraic "padraic (152 commits)")[![ciaranmcnulty](https://avatars.githubusercontent.com/u/237866?v=4)](https://github.com/ciaranmcnulty "ciaranmcnulty (125 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (62 commits)")[![richardmiller-zz](https://avatars.githubusercontent.com/u/783827?v=4)](https://github.com/richardmiller-zz "richardmiller-zz (42 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)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (32 commits)")[![gquemener](https://avatars.githubusercontent.com/u/668604?v=4)](https://github.com/gquemener "gquemener (29 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)")[![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)")[![chobie](https://avatars.githubusercontent.com/u/195038?v=4)](https://github.com/chobie "chobie (9 commits)")[![damonjones](https://avatars.githubusercontent.com/u/154075?v=4)](https://github.com/damonjones "damonjones (7 commits)")[![andho](https://avatars.githubusercontent.com/u/242906?v=4)](https://github.com/andho "andho (6 commits)")[![docteurklein](https://avatars.githubusercontent.com/u/109846?v=4)](https://github.com/docteurklein "docteurklein (6 commits)")[![mdavis1982](https://avatars.githubusercontent.com/u/199807?v=4)](https://github.com/mdavis1982 "mdavis1982 (5 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (5 commits)")[![shanethehat](https://avatars.githubusercontent.com/u/604650?v=4)](https://github.com/shanethehat "shanethehat (4 commits)")

---

Tags

testBDDspec

### Embed Badge

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

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

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[orchestra/testbench

Laravel Testing Helper for Packages Development

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

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/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.

36918.1M98](/packages/php-mock-php-mock)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1468.0M237](/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.2M399](/packages/php-mock-php-mock-phpunit)

PHPackages © 2026

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