Re: Improving the usability of PHP's interactive shell? (completions, displaying expression results, custom syntax)
| From: | Ben Ramsey | Date: | Sun, 19 Jul 2020 13:57:19 +0000 |
| Subject: | Re: Improving the usability of PHP's interactive shell? (completions, displaying expression results, custom syntax) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111074@lists.php.net to get a copy of this message | ||
> On Jul 18, 2020, at 18:33, tyson andre <tysonandre775@hotmail.com> wrote:
>
> P.S. What do developers here use for an interactive shell?
> I've seen https://github.com/bobthecow/psysh mentioned as
> an alternative for
php -a while investigating options but I
> haven't gotten around to using it.
I’m a big fan of PsySH. I use it in all my projects. It supports all or most of the features
you’ve mentioned, and it’s the project used as the base for Laravel Tinker, Drupal shell, WP-CLI
shell for WordPress, CakePHP console, and Yii shell.
It seems to be the de facto REPL of choice with the PHP community. :-)
Cheers,
Ben