minhngoc/resource-api-lumen

Command create resource api

dev-master 2018-12-05 08:59 UTC

This package is auto-updated.

Last update: 2024-04-09 11:52:01 UTC


README

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