phpspec / phpspec
Specification-oriented BDD framework for PHP 7.1+
9.0.0-beta.6
2026-07-11 21:53 UTC
Requires
- php: ^8.2 || ^8.3 || ^8.4 || ^8.5
- ext-mbstring: *
- ext-tokenizer: *
- cucumber/gherkin: ^39.0
- symfony/console: ^7.0 || ^8.0
- symfony/yaml: ^7.0 || ^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- papi-ai/google: ^0.9
- papi-ai/papi-core: ^0.9
- phpstan/phpstan: ^2.1
Suggests
- ext-curl: Required for AI features (pair, next, refactor)
- ext-dom: For JUnit XML and Clover coverage reports
- ext-posix: For terminal width detection
- ext-readline: For interactive pair mode
- ext-xdebug: For code coverage reporting
- papi-ai/anthropic: Anthropic Claude AI provider
- papi-ai/google: Google Gemini AI provider
- papi-ai/openai: OpenAI GPT AI provider
- papi-ai/papi-core: Required for AI features (pair, next, refactor)
This package is auto-updated.
Last update: 2026-07-11 21:55:44 UTC
README
The main website with documentation is at https://phpspec.net.
Installing Dependencies
Dependencies are handled via composer:
wget -nc https://getcomposer.org/composer.phar php composer.phar install
Developer's mailing list
For development discussion subscribe to phpspec-dev@googlegroups.com.
Community
Check out #phpspec on irc.freenode.net.