PHPackages                             pstaender/ssshell - 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. pstaender/ssshell

ActiveSilverstripe-vendormodule[CLI &amp; Console](/categories/cli)

pstaender/ssshell
=================

ssshell is a REPL for SilverStripe. Runs on top of PsySH 🚀

v0.2.0(10mo ago)44.2k↑50%2BSD-3-ClausePHPCI passing

Since Jul 2Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/pstaender/ssshell)[ Packagist](https://packagist.org/packages/pstaender/ssshell)[ Docs](https://github.com/pstaender/ssshell)[ RSS](/packages/pstaender-ssshell/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (13)Used By (0)

ssshell
=======

[](#ssshell)

REPL for SilverStripe running on Psy Shell 🚀
--------------------------------------------

[](#repl-for-silverstripe-running-on-psy-shell-)

[![status](https://github.com/pstaender/ssshell/actions/workflows/ci.yml/badge.svg)](https://github.com/pstaender/ssshell/actions/workflows/ci.yml/badge.svg)

### Install

[](#install)

Install in your current project with:

```
  $ composer require --dev pstaender/ssshell
```

### Usage

[](#usage)

To use ssshell just type `./vendor/bin/ssshell` (or `ssshell` if its installed globally) in your project folder and you can start using the shell:

```
  Psy Shell v0.12.9 (PHP 8.4.8 — cli) by Justin Hileman
  Loading dev environment (SilverStripe CMS: 6.0.0)
  >
```

### Command Line Options

[](#command-line-options)

You can use most of psyshs' cli arguments. Type `psysh -h` for help.

### Requirements

[](#requirements)

ssshell runs on SilverStripe v6.

For SilverStripe v4 and v5 you can use the `ss4` / `ss5`-branches or use the corresponding versions.

### Features

[](#features)

#### Namespaces and views of objects and lists

[](#namespaces-and-views-of-objects-and-lists)

`ssshell` comes with a set of [frequent used namespaces](https://github.com/pstaender/ssshell/blob/master/src/SSShell/NamespacesCommand.php#L17) for convenient REPL handling.

By default all DataObjects, DataLists, ArrayLists and Query objects will be displayed in a human-readable fashion.

As example, creating a SilverStripe User would be:

```
  > Member::create(['Email' => 'editor', 'Password' => 'password'])->write()
  => 1
  > Member::get()->first()
  => SilverStripe\Security\Member {#3229
      +ClassName: "SilverStripe\Security\Member",
      +LastEdited: "2019-07-01 11:34:54",
      +Created: "2019-07-01 11:34:54",
      +Email: "editor",
      +Password: "$2y$10$9b5f51921992948f40cf7uHeqjQLuG9Bnqf4sq54TBnsB80CmwJhC",
      +PasswordEncryption: "blowfish",
      +Salt: "10$9b5f51921992948f40cf75",
      +Locale: "en_US",
      +FailedLoginCount: 0,
      +ID: 1,
      +RecordClassName: "SilverStripe\Security\Member",
      +LoggedPasswords: [
        [
          "ClassName" => "SilverStripe\Security\MemberPassword",
          "LastEdited" => "2019-07-01 11:34:54",
          "Created" => "2019-07-01 11:34:54",
          "Password" => "$2y$10$9b5f51921992948f40cf7uHeqjQLuG9Bnqf4sq54TBnsB80CmwJhC",
          "Salt" => "10$9b5f51921992948f40cf75",
          "PasswordEncryption" => "blowfish",
          "MemberID" => 1,
          "ID" => 1,
          "RecordClassName" => "SilverStripe\Security\MemberPassword",
        ],
      ],
      +RememberLoginHashes: [],
      +LinkTracking: [],
      +FileTracking: [],
      +Groups: [],
    }
```

#### Sake command

[](#sake-command)

You can use all familiar sake commands:

```
  > sake db:build
  Building database SS_test using SilverStripe\ORM\Connect\MySQL 8.0.16
  ----------------------------------------------------------------------------
  Creating database tables

  * File (0 records)
  * SiteConfig (1 records)
  …
```

```
> sake dev/tasks
SILVERSTRIPE DEVELOPMENT TOOLS: Tasks
--------------------------

 * Migrate SiteTree Linking Task: sake dev/tasks/MigrateSiteTreeLinkingTask
 * Database Migrations: sake dev/tasks/MigrationTask
…
```

#### Flush command

[](#flush-command)

```
> flush
```

Same effect when using `sake` with `?flush`.

#### Static Command

[](#static-command)

View available static properties / methods of classes.

Displays static properties and methods:

```
> static SilverStripe\Control\Director
```

Display a static property:

```
> static SilverStripe\Control\Director $current_page
```

Display a static method:

```
> static SilverStripe\Control\Director test
…
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance54

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.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 ~274 days

Recently: every ~95 days

Total

9

Last Release

318d ago

### Community

Maintainers

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

---

Top Contributors

[![pstaender](https://avatars.githubusercontent.com/u/140571?v=4)](https://github.com/pstaender "pstaender (27 commits)")[![3Dgoo](https://avatars.githubusercontent.com/u/2616373?v=4)](https://github.com/3Dgoo "3Dgoo (2 commits)")

---

Tags

consoledebugREPLTinkershellsilverstripe

### Embed Badge

![Health badge](/badges/pstaender-ssshell/health.svg)

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

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2591.7M40](/packages/buggregator-trap)[seregazhuk/php-watcher

Automatically restart PHP application once the source code changes

394137.8k4](/packages/seregazhuk-php-watcher)[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24032.0k2](/packages/alecrabbit-php-console-spinner)

PHPackages © 2026

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