PHPackages                             joetannenbaum/day - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. joetannenbaum/day

ActiveLibrary[Testing &amp; Quality](/categories/testing)

joetannenbaum/day
=================

Dusk-like integration testing for your CLI apps

10[1 PRs](https://github.com/joetannenbaum/day/pulls)PHP

Since Apr 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/joetannenbaum/day)[ Packagist](https://packagist.org/packages/joetannenbaum/day)[ RSS](/packages/joetannenbaum-day/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Day
===

[](#day)

This package provides Dusk-like integration testing for your terminal commands. Under the hood, it requires the Unix `expect` command in order to function correctly.

Warning

This package is currently in active development. The API is subject to change.

Note

If you're testing Laravel commands this package currently supports only Symfony style commands, it has not been updated for Prompts yet.

Example
-------

[](#example)

The following would run the `bellows launch` command from the `bellows-tester` directory and answer several questions as they appear in the terminal.

```
use Day\Day;

use function Day\command;

command('bellows launch')
    ->fromDir(__DIR__ . '/../../bellows-tester')
    ->question('Which server would you like to use', 'bellows-tester')
    ->question('App Name', 'Bellows Test')
    ->deny('Enable quick deploy')
    ->confirm('Launch now')
    ->waitFor('Launched!', 60)
    ->exec();
```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc9e697c220afa4ac18184d1aaab004e2da9448ac251a74e6031eec48b21601?d=identicon)[joetannenbaum](/maintainers/joetannenbaum)

---

Top Contributors

[![joetannenbaum](https://avatars.githubusercontent.com/u/2702148?v=4)](https://github.com/joetannenbaum "joetannenbaum (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/joetannenbaum-day/health.svg)

```
[![Health](https://phpackages.com/badges/joetannenbaum-day/health.svg)](https://phpackages.com/packages/joetannenbaum-day)
```

PHPackages © 2026

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