arnested / drupal-mode

Advanced Emacs minor mode for Drupal development
https://melpa.org/#/drupal-mode
GNU General Public License v3.0
32 stars 14 forks source link

drush phpsh-console #21

Closed arnested closed 3 years ago

arnested commented 11 years ago

Running "drush phpsh-console" in some shell like mode.

arnested commented 11 years ago

Some thoughts on using phpsh as a repl in emacs: https://groups.google.com/forum/m/?fromgroups#!topic/phpsh/X6IJC71hN34

joddie commented 10 years ago

It's possible someone might be interested in some hacking I have been doing in this direction at joddie/boris (check out the drush branch). It's an experimental fork of d11wtq/boris which adds smart completion of functions and object members, either in a terminal or in Emacs. It also has a drush command to run within a Drupal context. It's still fairly rough but i find it useful.

Unfortunately phpsh seems to be a dead project, and boris has the additional advantage of continuing to work even after normally-fatal errors.

arnested commented 10 years ago

Yes, I just recently started using boris myself and I agree it would probably be better than basing something on phpsh.

I'll remember joddie/boris (drush branch) when I get around to looking deeper into it!

xendk commented 10 years ago

Already in Drush 7: https://github.com/drush-ops/drush/blob/master/commands/core/cli.drush.inc though it might be less than fantastic: https://github.com/drush-ops/drush/commit/839fa921f48b539a7d9b03fe8fb308ee1bb96a8b

kostajh commented 10 years ago

Just wanted to also mention psysh which as a bonus can also be used as a debugger.

xendk commented 10 years ago

I'd suspect that Boris and psysh should be pretty interchangeable, so it could be configurable which to use.

arnested commented 3 years ago

I'm going to close this issue. I think neither drush phpsh-console, boris nor psysh has gotten any widespread use in Drupal development.

It might just be my opinion or lack of observation. Feel free to reopen if you think this should be of real value to anyone now 6-7 years later.