egeriis / laravel-jsonapi

Make it a breeze to create a jsonapi.org compliant APIs with Laravel 5.
MIT License
146 stars 27 forks source link

Add API generator #18

Closed exfriend closed 8 years ago

exfriend commented 9 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.

egeriis commented 9 years ago

Hi @exfriend

That's a great proposal. Feel free to do a pull request :)