Package Data | |
---|---|
Maintainer Username: | minhngoc2512 |
Package Create Date: | 2018-08-20 |
Package Last Update: | 2018-12-05 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:12:57 |
Package Statistics | |
---|---|
Total Downloads: | 159 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Automatically create resource api, model,router.
php artisan resource:create {route_name} --version_route={default} --controller={null}
https://github.com/minhngoc2512/resource-api-lumen
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);
Option | Description
--------- | -------
version_route
| Version api
controller
| Controller
route_name
| Route name