This package takes a URL, works out the controller and action that the route is bound to, and opens that file at the correct line in PHPStorm
composer require juddling/phpstorm-url --dev
As this is a developer tool it makes sense to only install it as a dev dependency.
Be sure to include our service provider in your config/app.php
:
Juddling\PHPStorm\LaunchUrlServiceProvider::class,
php artisan phpstorm:url http://someproject.localhost/forum/comment/add
We would recommend setting up a bash alias like the following:
alias purl="php artisan phpstorm:url"