PHPackages                             pestphp/pest-plugin-expectations - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. pestphp/pest-plugin-expectations

Abandoned → [pestphp/pest](/?search=pestphp%2Fpest)ArchivedLibrary[Framework](/categories/framework)

pestphp/pest-plugin-expectations
================================

Add expectations testing capabilities to Pest or PHPUnit

v1.6.0(5y ago)19455.4k↑34.6%7[1 PRs](https://github.com/pestphp/pest-plugin-expectations/pulls)7MITPHPPHP ^7.3 || ^8.0

Since Dec 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pestphp/pest-plugin-expectations)[ Packagist](https://packagist.org/packages/pestphp/pest-plugin-expectations)[ Fund](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L)[ GitHub Sponsors](https://github.com/nunomaduro)[ RSS](/packages/pestphp-pest-plugin-expectations/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (15)Used By (7)

This repository contains the Pest Plugin Expectations. The Expectation API can be used in regular PHPUnit projects. For that, you just have to run the following command in your terminal:

```
composer require pestphp/pest-plugin-expectations --dev
```

> If you want to start testing your application with Pest, visit the main **[Pest Repository](https://github.com/pestphp/pest)**.

- Explore the docs: **[pestphp.com/docs/expectations »](https://pestphp.com/docs/expectations/)**
- Follow us on Twitter: **[@pestphp »](https://twitter.com/pestphp)**
- Join us on the Discord Server: **[discord.gg/bMAJv82 »](https://discord.gg/bMAJv82)**

Pest was created by **[Nuno Maduro](https://twitter.com/enunomaduro)** under the **[Sponsorware license](https://github.com/sponsorware/docs)**. It got open-sourced and is now licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 59.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Recently: every ~5 days

Total

13

Last Release

1850d ago

Major Versions

v0.3.3 → v1.0.02021-01-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/86cfef5c1f5195df1a9db17a5f8ecb34455e1f0133a725de9acf7f2fb26ac6a1?d=identicon)[nunomaduro](/maintainers/nunomaduro)

---

Top Contributors

[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (44 commits)")[![lukeraymonddowning](https://avatars.githubusercontent.com/u/12202279?v=4)](https://github.com/lukeraymonddowning "lukeraymonddowning (10 commits)")[![nedwors](https://avatars.githubusercontent.com/u/59183434?v=4)](https://github.com/nedwors "nedwors (9 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (4 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (4 commits)")[![karol-dabrowski](https://avatars.githubusercontent.com/u/34897174?v=4)](https://github.com/karol-dabrowski "karol-dabrowski (2 commits)")[![olivernybroe](https://avatars.githubusercontent.com/u/5870441?v=4)](https://github.com/olivernybroe "olivernybroe (1 commits)")

---

Tags

phptestingunitframeworktestpestexpectations

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/pestphp-pest-plugin-expectations/health.svg)

```
[![Health](https://phpackages.com/badges/pestphp-pest-plugin-expectations/health.svg)](https://phpackages.com/packages/pestphp-pest-plugin-expectations)
```

###  Alternatives

[pestphp/pest

The elegant PHP Testing Framework.

11.6k72.2M20.6k](/packages/pestphp-pest)[pestphp/pest-plugin-laravel

The Pest Laravel Plugin

22754.8M11.6k](/packages/pestphp-pest-plugin-laravel)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

99600.5k8](/packages/defstudio-pest-plugin-laravel-expectations)[pestphp/pest-plugin-profanity

The Pest Profanity Plugin

10618.1M38](/packages/pestphp-pest-plugin-profanity)[pestphp/pest-plugin-arch

The Arch plugin for Pest PHP.

4358.2M5.5k](/packages/pestphp-pest-plugin-arch)[pestphp/pest-plugin-browser

Pest plugin to test browser interactions

1343.7M186](/packages/pestphp-pest-plugin-browser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
