2017 © Pedro Peláez
 

library artisan-route-find

Artisan Console Command route:find

image

sevenshores/artisan-route-find

Artisan Console Command route:find

  • Tuesday, October 11, 2016
  • by ryanwinchester
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

artisan route:find

I've come across working on some Laravel-based apps that have probably 100+ routes and it can become a bit annoying to quickly find things you are looking for., (*1)

artisan route:list + grep is fine, mostly, but I ended up making a bash function to do it, as well as trimming extra whitespace from the results. Then I thought "Hey, it would be nice if there was something built in to the framework." Something like artisan route:find, (*2)

So, here it is, a proof-of-concept kind of thing., (*3)

Install and Set-up

composer require sevenshores/artisan-route-find

Register the command by adding it to app/Console/Kernel:, (*4)

protected $commands = [

    \SevenShores\RouteFinder\RouteFindCommand::class,

];

Usage

and now you can do something like:, (*5)

php artisan route:find api/files

, (*6)

and to trim extra whitespace from the results:, (*7)

php artisan route:find api/files --trim

, (*8)

The Versions

11/10 2016

dev-master

9999999-dev

Artisan Console Command route:find

  Sources   Download

Apache-2.0

The Requires

 

08/10 2016

v1.1.0

1.1.0.0

Artisan Console Command route:find

  Sources   Download

Apache-2.0

The Requires

 

08/10 2016

dev-feature-highlight-results

dev-feature-highlight-results

Artisan Console Command route:find

  Sources   Download

Apache-2.0

The Requires

 

08/10 2016

v1.0

1.0.0.0

Artisan Console Command route:find

  Sources   Download

Apache-2.0

The Requires