Eris
Eris: A focused PHP library for generating, shrinking, and replaying PHPUnit test cases. Ranked #24 of 27 in Property-Based Testing Tools by our editors (7.0/10); pricing: Free plan; best for PHPUnit-based PHP teams.
At a glance
- Editor score7.0 / 10
- PricingFree plan
- Best forPHPUnit-based PHP teams
- Free planYes
- Paid fromFree
- Supported languagesPHP
- Facts checked20 Sep 2026

Where it wins
- Generators cover scalar, collection, composite, and domain-specific inputs
- Shrinking and seeded replay simplify failure diagnosis and reproduction
- Configurable limits, listeners, logging, and PHPUnit integration support test workflows
Where it doesn't
- PHP support limits it to PHP-based projects
- Self-hosted Composer library rather than a hosted testing service
- Stateful testing sits outside its stated focus
Our verdict on Eris
Eris is an open-source property-based testing library for PHP projects that use PHPUnit. It generates inputs from configurable domains, evaluates properties across repeated cases, and shrinks failing inputs toward simpler counterexamples. The library is aimed at teams that want property-based coverage within an existing PHPUnit workflow, with installation handled through Composer. It can also operate outside PHPUnit through its facade, although PHPUnit is its primary test-runner integration.
Its feature set centers on test generation and failure diagnosis. Scalar, collection, composite, and domain generators let teams describe different input spaces, while configurable iteration and time limits provide control over how much work a run performs. The published default is 100 generated values per forAll() call. Seeded test reproducibility and configurable pseudorandom-number generators support repeatable failures, and test-run listeners and logging add visibility around execution. Together, these capabilities make Eris a practical fit for teams that need more varied inputs than example-based tests typically provide without leaving PHP's established testing tools.
Eris is most appropriate for PHPUnit-based PHP teams seeking a focused, self-hosted library rather than a hosted testing platform. Its narrow scope can be an advantage when the priority is generators, shrinking, replay, and PHPUnit compatibility. Teams working in another language, using a different test runner, or looking for a broader stateful-testing focus should consider an alternative. There is no paid tier to evaluate: Eris is distributed as open-source software, with Composer and PHPUnit forming the central ecosystem around it. Choose Eris for property-based testing embedded in PHP test suites; look elsewhere when cross-language coverage or broader testing modes are central requirements.
Your product? Our editors can test Eris in depth and publish a review, labelled as paid · from $99/mo →
Eris pricing
Eris fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Supported languages | PHP |
| Test runner support | PHPUnit |
| Failing-case shrinking | Yes |
| Stateful testing | Not verified |
| Reproducible failures | Yes |
| Cases per run | 100 cases |
| Deployment | Self-hosted |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 2 integrations: PHPUnit, Composer |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
Eris integrations
Eris lists 2 integrations on its own site.
- PHPUnit
- Composer
Alternatives to Eris
- fast-checkA deep, runner-agnostic testing library for JavaScript and TypeScript teams.9.4
- HypothesisA focused Python library for generated inputs, shrinking, and stateful tests.9.3
- ProptestA focused Rust framework for generated inputs, shrinking, replay, and stateful tests.9.1
Used Eris? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Eris for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Eris is listed in our Property-Based Testing Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/eris/"><img src="https://www.itechguides.com/best/badge/eris.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


