phpspec/phpspec
SpecBDD Framework for PHP observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 96
- Release rhythm 79
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 81
- age_days: 5627
- days_rel: 60
- days_push: 25
- n_releases_24m: 6
Adoption not part of the score
1905 stars · 287 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
phpspec is a SpecBDD (Specification-based Behavior-Driven Development) testing framework for PHP. It guides developers to design and specify object behavior through executable specifications rather than traditional tests.
Use cases
- write behavior-driven specs for PHP classes
- test-driven design of PHP objects
- run executable specifications instead of unit tests
- mock and stub dependencies in PHP tests
- adopt BDD workflow in a PHP project
When to choose
- you want SpecBDD-style development in PHP
- you prefer designing objects through specifications
- you need built-in mocking tailored to spec workflows
When to avoid
- you want conventional unit testing with PHPUnit
- your project is not PHP-based
- you need end-to-end browser testing
Facets
framework · maturity active
testing e2e-testing mocking testing developer-tools php cli cross-platform bdd specbdd specification php tdd unit-testing
1 source
- readme: https://github.com/phpspec/phpspec · fetched 2026-08-28 · d4aef1ec8eb8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| phpspec/phpspec | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem