# Pest

> The elegant PHP testing framework

Source: https://talira.ai/catalog/pest-prkx0461
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework
- Categories: [developer tools / testing / frameworks](https://talira.ai/categories/developer-tools/testing/frameworks), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2][^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Nuno Maduro](https://talira.ai/orgs/nuno-maduro.md)

Pest is an MIT-licensed testing framework for PHP, created by Nuno Maduro and built on [PHPUnit](https://talira.ai/catalog/phpunit-bg1qx6g0.md). Tests are written as closures with `it()` and `test()` and checked with a chainable `expect()` API, and the framework adds datasets, hooks, parallel runs, snapshot, architecture, browser, mutation and stress testing, test and type coverage, and a Test Impact Analysis engine that reruns only the tests a change affects. Official plugins cover PHPStan, Rector and evaluating LLM agents.

## Links

- Website: https://pestphp.com/
- GitHub: https://github.com/pestphp/pest
- Docs: https://pestphp.com/docs/installation

## Problems it solves

- PHPUnit test classes in my PHP project feel verbose and full of boilerplate
- enforce architecture rules in a Laravel app, such as controllers never using models directly
- run my PHP test suite faster by only rerunning tests affected by a change

## Features

- closure-based tests with it() and test() and a chainable expect() API
- datasets that run one test over many inputs
- parallel testing, profiling and sharding
- architecture, snapshot, browser, mutation and stress testing
- test coverage and type coverage reports
- Tia Engine: reruns only the tests a change affects

## Limitations

- Requires PHP 8.4 or later (Pest 5)[^1]

## Trust

Overall: 0.72 out of 1.
Signals: maintenance 1.00, adoption 0.81, momentum 0.66, community 0.92, backing 0.30, extensibility 0.00.

- last commit 6 days ago
- 111 commits in the last 90 days
- latest release v5.3.7 13 days ago
- 11.8k GitHub stars
- 202 contributors
- accepts sponsorship (Github, Custom)
- backed by Nuno Maduro

## Related

- Based on [PHPUnit](https://talira.ai/catalog/phpunit-bg1qx6g0.md)

## Alternatives

- [PHPUnit](https://talira.ai/catalog/phpunit-bg1qx6g0.md): The testing framework for PHP
- [nom](https://talira.ai/catalog/nom-hrs70ays.md): A Rust parser combinator library for fast, safe binary and text parsers

## Sources

[^1]: https://pestphp.com/docs/installation (checked 26 Nov 2026)
[^2]: https://github.com/pestphp/pest/blob/5.x/LICENSE.md (checked 26 Nov 2026)
[^3]: https://github.com/pestphp/pest/blob/5.x/composer.json (checked 26 Nov 2026)
