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

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

tidal/phpspec-behavior
======================

An extension for PhpSpec to generate behavior (traits) from interfaces

v0.3.1(9y ago)24MITPHPPHP &gt;=7.1.0

Since Apr 17Pushed 9y ago2 watchersCompare

[ Source](https://github.com/tidal/phpspec-behavior)[ Packagist](https://packagist.org/packages/tidal/phpspec-behavior)[ RSS](/packages/tidal-phpspec-behavior/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (7)Versions (7)Used By (0)

[![Travis](https://camo.githubusercontent.com/8c890be9650158ee591037fb785be0a99795eb85083d958a6a5e8801058cd641/68747470733a2f2f7472617669732d63692e6f72672f746964616c2f706870737065632d6265686176696f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tidal/phpspec-behavior)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e45dc44a7a66faa5646286f0c259fcee756076eb58e1dafb4dde209dc65fcfc5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746964616c2f706870737065632d6265686176696f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tidal/phpspec-behavior/?branch=master)[![Codacy Badge](https://camo.githubusercontent.com/f1dc81ae379eeb62911e62c25a0d457dc5a80cdc3a5423fefa9b8e98a2b1af92/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3266623532333763303264613431346139356432643638656162343565366137)](https://www.codacy.com/app/timomichna/phpspec-behavior?utm_source=github.com&utm_medium=referral&utm_content=tidal/phpspec-behavior&utm_campaign=Badge_Grade)

phpspec-behavior
================

[](#phpspec-behavior)

An extension for PhpSpec to generate behavior (traits) from interfaces

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.7% 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 ~1 days

Total

5

Last Release

3355d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6c8d11f4cc2c4bb65832357398092369df3b5ecda1171441be8c6a75e844f97f?d=identicon)[tidal](/maintainers/tidal)

---

Top Contributors

[![tidal](https://avatars.githubusercontent.com/u/57825?v=4)](https://github.com/tidal "tidal (90 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (4 commits)")

---

Tags

bddbehaviorcode-generationcode-generatorextensionimplementationinterfacephp7phpspectesttraittestBDDcode generatorinterfacetraitextensionBehaviorphpspecPHP7code-generationimplementation

###  Code Quality

TestsBehat

### Embed Badge

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

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

###  Alternatives

[benconstable/phpspec-laravel

Test your Laravel applications with PhpSpec

144350.6k15](/packages/benconstable-phpspec-laravel)[friends-of-phpspec/phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests

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

Extension for phpspec to enhance generated methods

3089.7k31](/packages/ciaranmcnulty-phpspec-typehintedmethods)

PHPackages © 2026

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