PHPackages                             mediashare/shell-psysh - 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. [CLI &amp; Console](/categories/cli)
4. /
5. mediashare/shell-psysh

ActiveLibrary[CLI &amp; Console](/categories/cli)

mediashare/shell-psysh
======================

An interactive shell for modern PHP.

v0.12.10.11(11mo ago)013MITPHPPHP ^8.0 || ^7.4

Since Feb 20Pushed 11mo agoCompare

[ Source](https://github.com/Mediashare/shell-psysh)[ Packagist](https://packagist.org/packages/mediashare/shell-psysh)[ Docs](https://psysh.org)[ RSS](/packages/mediashare-shell-psysh/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (125)Used By (0)

Shell Tester README
===================

[](#shell-tester-readme)

Overview
--------

[](#overview)

The Shell Tester is a tool for testing shell scripts and commands. It allows you to define test cases, execute them against your code, and verify the results.

Getting Started
---------------

[](#getting-started)

1. **Navigate to the `test/shell-tester` directory.**
2. **Review existing test cases:** Examine the files in this directory to understand how tests are structured and written. The tests typically involve running a command or script, capturing its output, and asserting that the output matches an expected value.
3. **Write new test cases:** Create new files in this directory, following the existing pattern.

Test Case Structure
-------------------

[](#test-case-structure)

Each test case consists of the following elements:

- **Command/Script to Execute:** The command or script that you want to test.
- **Expected Output:** The output that you expect the command or script to produce.

Contributing
------------

[](#contributing)

1. **Fork the repository.**
2. **Create a new branch for your changes.**
3. **Add your test cases to the `test/shell-tester` directory.**
4. **Ensure that your test cases pass by running the test suite (details on how to run the test suite would go here if a testing framework was used).**
5. **Submit a pull request.**

Example Test Case
-----------------

[](#example-test-case)

```
# This is an example test case.
# It tests the `ls -l` command.

command: ls -l
expected_output:
  - total 4
  - -rw-r--r-- 1 user group 1024 Jan 1 00:00 file1.txt
  - -rw-r--r-- 1 user group 2048 Jan 1 00:00 file2.txt
```

**Note:** The exact format of the test case may vary depending on the specific testing framework used.

Further Information
-------------------

[](#further-information)

- \[Link to documentation (if available)\]
- \[Link to issue tracker\]

```

```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance51

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 83.1% 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 ~34 days

Recently: every ~1 days

Total

123

Last Release

352d ago

PHP version history (6 changes)v0.1.0PHP &gt;=5.3.0

v0.5.0PHP &gt;=5.3.9

v0.9.0PHP &gt;=5.4.0

v0.10.0PHP ^8.0 || ^7.0 || ^5.5.9

v0.11.0PHP ^8.0 || ^7.0.8

v0.12.0PHP ^8.0 || ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/68a6b6d77942c3c37f2b184161479d7090bf7efe9d1265b258388947a9c7e16f?d=identicon)[Mediashare-Support](/maintainers/Mediashare-Support)

---

Top Contributors

[![bobthecow](https://avatars.githubusercontent.com/u/53660?v=4)](https://github.com/bobthecow "bobthecow (1721 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (78 commits)")[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (48 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (43 commits)")[![krageon](https://avatars.githubusercontent.com/u/2675595?v=4)](https://github.com/krageon "krageon (33 commits)")[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (20 commits)")[![Markcial](https://avatars.githubusercontent.com/u/208523?v=4)](https://github.com/Markcial "Markcial (18 commits)")[![theofidry](https://avatars.githubusercontent.com/u/5175937?v=4)](https://github.com/theofidry "theofidry (17 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (16 commits)")[![damiankloip](https://avatars.githubusercontent.com/u/1053891?v=4)](https://github.com/damiankloip "damiankloip (11 commits)")[![Wirone](https://avatars.githubusercontent.com/u/600668?v=4)](https://github.com/Wirone "Wirone (7 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (6 commits)")[![alexeyshockov](https://avatars.githubusercontent.com/u/203120?v=4)](https://github.com/alexeyshockov "alexeyshockov (5 commits)")[![taoso](https://avatars.githubusercontent.com/u/2030591?v=4)](https://github.com/taoso "taoso (4 commits)")[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (4 commits)")[![dennisdegreef](https://avatars.githubusercontent.com/u/361905?v=4)](https://github.com/dennisdegreef "dennisdegreef (4 commits)")[![Taluu](https://avatars.githubusercontent.com/u/239685?v=4)](https://github.com/Taluu "Taluu (4 commits)")[![Fludem](https://avatars.githubusercontent.com/u/11637247?v=4)](https://github.com/Fludem "Fludem (3 commits)")[![davedevelopment](https://avatars.githubusercontent.com/u/61351?v=4)](https://github.com/davedevelopment "davedevelopment (3 commits)")[![keradus](https://avatars.githubusercontent.com/u/2716794?v=4)](https://github.com/keradus "keradus (3 commits)")

---

Tags

consoleREPLshellinteractive

### Embed Badge

![Health badge](/badges/mediashare-shell-psysh/health.svg)

```
[![Health](https://phpackages.com/badges/mediashare-shell-psysh/health.svg)](https://phpackages.com/packages/mediashare-shell-psysh)
```

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k582.3M820](/packages/psy-psysh)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)

PHPackages © 2026

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