2017 © Pedro Peláez
 

library lumen-dingo-route-list

Route:list command support at Lumen framework application with Dingo API framework

image

jakubkratina/lumen-dingo-route-list

Route:list command support at Lumen framework application with Dingo API framework

  • Friday, May 20, 2016
  • by jakub.kratina
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5,988 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 7 Versions
  • 8 % Grown

The README.md

lumen-dingo-route-list

Route:list command support at Lumen framework application with Dingo API framework, (*1)

Installation

Install via composer:, (*2)

composer require jakubkratina/lumen-dingo-route-list

Just register the command inside $commands array at app/Console/Kernel.php file:, (*3)

protected $commands = [
    JK\Dingo\Api\Console\Commands\RouteListCommand::class
];

Run

Open your terminal and type artisan route:list to see output like:, (*4)

+---------+
| Version |
+---------+
| v1      |
+---------+
+------------+---------------------------+------------------+-----------------------------------------------+-----------------+
| Method     | URI                       | Name             | Action                                        | Middleware      |
+------------+---------------------------+------------------+-----------------------------------------------+-----------------+
| GET | HEAD | api/albums                | albums.index     | App\Http\Controllers\AlbumController@index    | api.controllers |
| GET | HEAD | api/categories            | categories.index | App\Http\Controllers\CategoryController@index | api.controllers |
| GET | HEAD | api/properties            | properties.index | App\Http\Controllers\PropertyController@index | api.controllers |
| GET | HEAD | api/albums/{album}        | albums.show      | App\Http\Controllers\AlbumController@show     | api.controllers |
| GET | HEAD | api/groups/{group}        | groups.show      | App\Http\Controllers\GroupController@show     | api.controllers |
| GET | HEAD | api/properties/{property} | properties.show  | App\Http\Controllers\PropertyController@show  | api.controllers |
+------------+---------------------------+------------------+-----------------------------------------------+-----------------+
+---------+
| Version |
+---------+
| v2      |
+---------+
+------------+---------+------+---------+-----------------+
| Method     | URI     | Name | Action  | Middleware      |
+------------+---------+------+---------+-----------------+
| GET | HEAD | api/foo |      | Closure | api.controllers |
+------------+---------+------+---------+-----------------+

Version argument

You can also specify your API version: artisan route:list v2., (*5)

+------------+---------+------+---------+-----------------+
| Method     | URI     | Name | Action  | Middleware      |
+------------+---------+------+---------+-----------------+
| GET | HEAD | api/foo |      | Closure | api.controllers |
+------------+---------+------+---------+-----------------+

The Versions

20/05 2016

dev-master

9999999-dev

Route:list command support at Lumen framework application with Dingo API framework

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jakub Kratina

api lumen command route list dingo

20/05 2016

0.9.5

0.9.5.0

Route:list command support at Lumen framework application with Dingo API framework

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jakub Kratina

api lumen command route list dingo

20/05 2016

0.9.4

0.9.4.0

Route:list command support at Lumen framework application with Dingo API framework

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jakub Kratina

api lumen command route list dingo

19/05 2016

0.9.3

0.9.3.0

Route:list command support at Lumen framework application with Dingo API framework

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jakub Kratina

api lumen command route list dingo

19/05 2016

0.9.2

0.9.2.0

Route:list command support at Lumen framework application with Dingo API framework

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jakub Kratina

api lumen command route list dingo

19/05 2016

0.9.1

0.9.1.0

Route:list command support at Lumen framework application with Dingo API framework

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jakub Kratina

api lumen command route list dingo

19/05 2016

0.9

0.9.0.0

Route:list command support at Lumen framework application with Dingo API framework

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Jakub Kratina

api lumen command route list dingo