Closed exfriend closed 8 years ago
Hi! It would be great to have some scaffolding when building API. Would be cool to run something like:
php artisan generate:api Comment
which will create API controllers (extending ApiController class or so ), and routes.
Probably, you will want to set something like pagination using command options.
Hi @exfriend
That's a great proposal. Feel free to do a pull request :)
Hi! It would be great to have some scaffolding when building API. Would be cool to run something like:
php artisan generate:api Comment
which will create API controllers (extending ApiController class or so ), and routes.
Probably, you will want to set something like pagination using command options.