specrig / specrig
The core of specrig for PHP: the harness, the stand-ins, the contract check, the records, the Behat binding and the specrig command
v0.1.2
2026-10-25 19:44 UTC
Requires
- php: ^8.2
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- behat/behat: ^3.34 || ^4.0
- nikic/php-parser: ^5.0
- opis/json-schema: ^2.4
- psr/clock: ^1.0
- symfony/dotenv: ^6.4 || ^7.0 || ^8.0
- symfony/yaml: ^6.4 || ^7.0 || ^8.0
Requires (Dev)
None
Suggests
- ext-pdo_pgsql: for the Postgres resource
- ext-redis: for the Redis resource, or predis/predis
- php-amqplib/php-amqplib: for the bus stand-in
Provides
None
Conflicts
None
Replaces
None
README
The core of specrig for PHP: the harness, the stand-ins, the contract check, the
records, the Behat binding and the specrig command. A service installs it through
its framework's adapter:
composer require --dev specrig/laravel
or specrig/symfony. How to lay the harness out and write the cases:
specrig/specrig-php.
This repository is a read-only copy of packages/specrig in specrig-php, kept in
step by specrig-php's release workflow. Issues and changes go to
specrig-php.