VS Code extension to run the selected code with Laravel Tinker
Executes php code with default Laravel Tinker, allowing to debug or test a small part of the code easily from your editor.
It allows:
- Run the selected code in the editor
- Run the current open file, when no selection is made
myExtension.phpPath
: set the path to your php executable. It supports docker asdocker-compose exec -T php-fpm php
Some imports and variable may be not available if it's not part of the selected code.
Initial release that execute php code easily with Laravel Tinker
Solve some issues when combining quoted and single quoted strings in the executed code
Support the package reporting issues or new ideas on github!