Roboroads / laravel-tinker

Adds a way to write php and run it directly in Laravels' Artisan Tinker.
Apache License 2.0
213 stars 15 forks source link
artisan artisan-command jetbrains laravel php phpstorm phpstorm-plugin

Laravel Tinker Plugin Logo Downloads Rating GitHub Release Date GitHub last commit

Adds a way to write php in PhpStorm/IDEA and run it directly as if through laravel artisan tinker - allowing you to quickly run a piece of code with all your Laravel classes - with the added benefit of having your IDE's autocompletion, code colors and error inspections.

Find all actions under Tools -> Laravel Tinker or use the default shortcut ctrl + Shift + T to let tinker smartly guess what you want to do (opening/running/etc.).

This plugin does work without your code being a laravel project as well - make sure you have psy/psysh required in your project for it to work, though with limited functionality.

Credits

Contributing

I do not have a lot of experience with Kotlin, so I kind of tinkered (šŸ˜) this together. Any tips or feedback is welcome in the Issues Tab - or better, make me a PR!

Want to be part of this plugin? Every positive contribution to this project is welcome!