lumen-generators
lumen-generators copied to clipboard
A collection of generators for Lumen and Laravel 5.
Please fix class formatting to be PSR-2 compliant. Put namespace declarations and opening brace for classes on new lines.
Would be good for each generator, but at least for a specific resource - that would look for migration, model, controller and routes and delete them if found. Especially useful...
When I run the wn:resources and it runs the migration, then I cannot roll the migration back, because the migration class is not found. Running "composer dump-autoload" fixex the issue
Would be nice to have also some basic tests generated for a resource ;)
Add possibility to not run migrations when using `wn:resources`
Hi, [Fractal](https://laravelista.com/posts/build-an-api-with-lumen-and-fractal) provides a nice separation layer between the Model and the JSON data, it would be good to have an option to integrate it into your useful set of...
I think it could be helpful if we could make a kind of example folder for some common resources files. Things like generating a User model or showing how relationships...