Skip to content

proposal: artisan command to bootstrap new resources #32

Description

@pmccarren

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions