krwu / spiral-repl
a REPL or interactive console for spiral framework
v0.1.0
2020-03-19 14:24 UTC
Requires
- psy/psysh: ^0.10.0
- spiral/console: ^1.3
- spiral/framework: ^2.4
This package is auto-updated.
Last update: 2025-03-20 01:32:27 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