laravel-tinker icon indicating copy to clipboard operation
laravel-tinker copied to clipboard

Bug if project root is not laravel root

Open bobisdacool1 opened this issue 3 years ago • 2 comments

Bug description I've got project root. The vendor directory is located at the project root, ./ProjectRoot/vendor. My laravel directory is in the projects directory, ./ProjectRoot/projects/laravel-directory. When I try to run the laravel tinker script, I get fatal error: Fatal error: Uncaught Error: Failed opening required './ProjectRoot/bootstrap/app.php'. I tried changing laravel tinker project directory to the ./ProjectRoot/projects/laravel-directory, but still got same error message.

Screenshots image

Environment (please complete the following information):

  • IDE & Version: PHPStorm 2022.2
  • PHP Version: 8.1.15
  • OS: Windows 10
  • Laravel Tinker plugin version : 2.4.0
  • Interpreter Type: local
  • Laravel Version: v8.83.15 Tinker version: v2.7.2

P.S. Thank you very much for making such a good plugin, it has greatly increased the speed of my development

bobisdacool1 avatar Aug 17 '22 08:08 bobisdacool1

Just got back from vacation. I'm going to look into this soon.

it has greatly increased the speed of my development

That's great to hear!

Roboroads avatar Sep 11 '22 12:09 Roboroads

I have already created a pull request for this bug

bobisdacool1 avatar Sep 13 '22 11:09 bobisdacool1

Ready for next release!

Roboroads avatar Nov 02 '22 18:11 Roboroads