PHPackages                             ajthinking/pest-plugin-testables - 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. ajthinking/pest-plugin-testables

ActiveLibrary[Framework](/categories/framework)

ajthinking/pest-plugin-testables
================================

Easily test Builders

v0.0.2(4y ago)05MITPHPPHP ^7.3 || ^8.0

Since Jan 22Pushed 4y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

### Installation

[](#installation)

```
composer require ajthinking/pest-plugin-testables --dev
```

### Usage

[](#usage)

```
test('it ignores excessive substraction', function() {
    testable(Inventory::class)
        ->setCount(1)
        ->substract(10)
        ->getCount()->assertEquals(0)
        ->add(2)
        ->getCount()->assertEquals(2)
});
```

### How it works:

[](#how-it-works)

- Provide `testable` with an instance or a resolvable classname.
- Make preparatory calls as needed.
- Reach for the property or method you want to assert against.
- State the assertion. It will target the most recent operation.
- After an assertion, it will return to the state before the assertion target, making it possible to chain more assertions.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1623d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc2d6bf00e3a29857b1e2a96b9e7e4339fdb7c336676c4a48ba9a80fc6dec833?d=identicon)[ajthinking](/maintainers/ajthinking)

---

Top Contributors

[![ajthinking](https://avatars.githubusercontent.com/u/3457668?v=4)](https://github.com/ajthinking "ajthinking (7 commits)")

---

Tags

phpplugintestingunitframeworktestpest

### Embed Badge

![Health badge](/badges/ajthinking-pest-plugin-testables/health.svg)

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

###  Alternatives

[pestphp/pest

The elegant PHP Testing Framework.

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

A plugin to add laravel tailored expectations to Pest

99600.5k7](/packages/defstudio-pest-plugin-laravel-expectations)[jonpurvis/lawman

A PestPHP Plugin to help with architecture testing SaloonPHP integrations

4138.2k10](/packages/jonpurvis-lawman)[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.7M175](/packages/pestphp-pest-plugin-browser)[pestphp/pest-plugin-type-coverage

The Type Coverage plugin for Pest PHP.

354.3M1.1k](/packages/pestphp-pest-plugin-type-coverage)

PHPackages © 2026

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