minhngoc/resource-api-lumen

Command create resource api

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

This package is auto-updated.

Last update: 2024-11-09 13:14:09 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: