Skip to content

Stubs/config publish 'improvement' #528

@benjam-es

Description

@benjam-es

Synopsis:

It looks like the current method of publishing the 'stubs' files, is to use php artisan vendor:publish --tag=... which is usable. I think there may be room for improvement. Similarly it might be useful to complete multiple steps in one line (new, publish stubs, publish config)

Proposed Syntax:

Use a new command for config publishing, which then simply calls the vendor:publish

php artisan blueprint:stubs

The blueprint:new command could have a couple of flags like so:

blueprint:new --config
blueprint:new --stubs
blueprint:new --cs (or shorthand)

Expected Behavior:

  1. Specific command for publishing (similar laravel)
  2. Streamline 3 steps into 1 step for those wanting to start a new draft file, publish stubs and publish config

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions