thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

Laravel tinker does not show prompt, works incorrectly #2405

Closed blitux closed 6 years ago

blitux commented 6 years ago

Description:

After a clean install of laravel and larapack/voyager-hooks:v1.0.4, the command php artisan tinker does not show the prompt ">>>" and works incorrectly. Autocompletion doesn't work, arrow keys throws escape characters.

It seems like voyager is interfering with tinker or Psy Shell.

Steps To Reproduce:

  1. Install last version of laravel with laravel new test
  2. Run php artisan tinker. You will see the prompt ">>>"
  3. Run composer require larapack/voyager-hooks:v1.0.4
  4. Run php artisan tinker. You will see Psy Shell's welcome message and NOT the prompt ">>>"
fletch3555 commented 6 years ago

I assure you Voyager does absolutely nothing that can affect the Psy Shell or Laravel Tinker... at least nothing that wouldn't also affect web (e.g. ServiceProvider issues). From your PHP version, I'm assuming you're on Ubuntu, correct? Might be better to report this in a more generic Laravel forum like Larachat.

blitux commented 6 years ago

That's the conclusion I reached when I started a project from scratch. This doesn't happen with a fresh laravel install, but it does happen after I install voyager. Maybe it's a dependency. Didn't get that far, but will try the dependencies one by one.

blitux commented 6 years ago

Found it. It's larapack/voyager-hooks:v1.0.4. I've updated the description to reflect that. Will try to debug the issue and I will leave the report on the voyager-hooks repo.

fletch3555 commented 6 years ago

We'll track this under the voyager-hooks repo and close this one. Ref: larapack/voyager-hooks#15

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.