Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: artisan command to bootstrap new resources #32

Open
pmccarren opened this issue Aug 21, 2017 · 0 comments
Open

proposal: artisan command to bootstrap new resources #32

pmccarren opened this issue Aug 21, 2017 · 0 comments

Comments

@pmccarren
Copy link

As I started to use larapi, I found my self using something like cp && find|sed to bootstrap a new resource from a "template" directory. I have been considering adding that functionality into larapi itself in the form of an artisan command (e.g. ./artsian larapi:resource:add).

This utility would copy a "template" directory to /api and perform the necessary find/replace to setup the filenames and variables. Additionally there could be extra setup steps (add SP in app/config.php for example).

I'd like to gather feedback and see if this would benefit others? Would this help new users of larapi?

I welcome all questions/comments/feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant