minhngoc2512 / resource-api-lumen by minhngoc2512

Command create resource api
159
0
1
Package Data
Maintainer Username: minhngoc2512
Package Create Date: 2018-08-20
Package Last Update: 2018-12-05
Language: PHP
License: MIT
Last Refreshed: 2024-12-23 03:14:48
Package Statistics
Total Downloads: 159
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Lumen API Command Resource Api

Automatically create resource api, model,router.

php artisan resource:create {route_name} --version_route={default} --controller={null}

https://github.com/minhngoc2512/resource-api-lumen

Installation

Run command install package:

   $ composer require minhngoc/resource-api-lumen:dev-master

Go to your bootstrap/app.php and register the service provider:

$app->register(MinhNgoc\ResourceApiLumen\ResourceCommandServiceProvider::class);

Available command options:

Option | Description --------- | ------- version_route | Version api controller | Controller route_name | Route name