pestphp/pest
The elegant testing framework for PHP developers and AI agents. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2.5
- age_days: 2366
- days_rel: 8
- days_push: 7
- n_releases_24m: 85
Adoption not part of the score
11683 stars · 526 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Pest is an elegant PHP testing framework built on top of PHPUnit, offering a functional test API with expressive expect() assertions, datasets, hooks, and architecture testing. Version 5 adds browser testing, AI evals for LLM output, an agent plugin for AI coding assistants, and test-impact-analysis for fast re-runs.
Use cases
- write unit and feature tests in php
- migrate phpunit tests to pest
- run browser tests for a laravel app
- evaluate llm agent output quality in tests
- speed up test suite by running only affected tests
- enforce architecture rules in php codebase
- run data-driven tests with datasets
When to choose
- you write PHP 8.4+ applications, especially Laravel, and want a modern expressive testing API
- you want built-in browser testing, AI evals, and agent-friendly verification in one framework
- you want to gradually migrate from PHPUnit while keeping its ecosystem
When to avoid
- your project runs on PHP older than 8.4
- you rely on a PHPUnit-only workflow or tooling incompatible with Pest's functional style
- you need a testing framework for a non-PHP language
Facets
framework · maturity active
testing e2e-testing cli llm-inference testing developer-tools web-development php cli cross-platform php-testing phpunit expectation-api browser-testing ai-evals laravel test-runner php
10 sources
- readme: https://github.com/pestphp/pest · fetched 2026-08-28 · c3355b4ef66b
- homepage: https://pestphp.com · fetched 2026-08-29 · 837fbd026e84
- site_page: https://pestphp.com/docs · fetched 2026-08-29 · d15d5841fc58
- site_page: https://pestphp.com/docs/installation · fetched 2026-08-29 · c52a2b245937
- site_page: https://pestphp.com/docs/pest5-now-available · fetched 2026-08-29 · f10ce21cb15b
- site_page: https://pestphp.com/docs/editor-setup · fetched 2026-08-29 · be15146f0578
- site_page: https://pestphp.com/docs/writing-tests · fetched 2026-08-29 · 8b205d4618db
- site_page: https://pestphp.com/docs/expectations · fetched 2026-08-29 · 9a696c6e39d7
- site_page: https://pestphp.com/docs/hooks · fetched 2026-08-29 · ddc82400d95e
- site_page: https://pestphp.com/docs/datasets · fetched 2026-08-29 · 04aaa790e7e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pestphp/pest | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem