juddling/phpstorm-url

There is no license information available for the latest version (1.0) of this package.

1.0 2018-10-31 21:34 UTC

This package is auto-updated.

Last update: 2024-10-29 05:10:23 UTC


README

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

Installation

composer require juddling/phpstorm-url --dev

As this is a developer tool it makes sense to only install it as a dev dependency.

Add Service Provider (<= 5.4)

Be sure to include our service provider in your config/app.php:

Juddling\PHPStorm\LaunchUrlServiceProvider::class,

Usage

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"