Download the PHP package pstaender/ssshell without Composer
On this page you can find all versions of the php package pstaender/ssshell. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pstaender/ssshell
More information about pstaender/ssshell
Files in pstaender/ssshell
Package ssshell
Short Description ssshell is a REPL for SilverStripe. Runs on top of PsySH 🚀
License BSD-3-Clause
Homepage https://github.com/pstaender/ssshell
Informations about the package ssshell
ssshell
REPL for SilverStripe running on Psy Shell 🚀
Install
Install in your current project with:
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:
Command Line Options
You can use most of psyshs' cli arguments. Type psysh -h
for help.
Requirements
sshell runs on SilverStripe v5.
For SilverStripe v4 you can use the ss4
-branch or stick to version v0.0.4 via composer require pstaender/ssshell 'v0.0.4'
.
Features
Namespaces and views of objects and lists
ssshell
comes with a set of frequent used namespaces 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:
Sake command
You can use all familiar sake commands:
Flush command
Same effect when using sake
with ?flush
.
Static Command
View available static properties / methods of classes.
Displays static properties and methods:
To display only one of them:
All versions of ssshell with dependencies
psy/psysh Version ~0.9
symfony/console Version ^7.0