krwu/spiral-repl

a REPL or interactive console for spiral framework

v0.1.0 2020-03-19 14:24 UTC

This package is auto-updated.

Last update: 2024-04-19 23:17:16 UTC


README

Spiral Repl is a REPL for Spiral framework, based on PsySH package.

Installation

You can install it with composer:

composer require krwu/spiral-repl

Activate the bootloader Krwu/Repl/ReplBootloader in your application, normally it is <project>/app/src/app.php:

protected const LOAD = [
    // ...
    Krwu\Repl\ReplBootloader::class,
]

Useage

Spiral Repl allows you to interact with the spiral application on the command line. To enter the REPL environment, run:

php app.php repl