In Laravel 5.5 “vendor:publish” Gets A Provider Prompt

In Laravel 5.5 “vendor:publish” Gets A Provider Prompt

In previous versions of Laravel the vendor:publish command will publish everything it finds, this includes configs, views, migrations, and more.

Thanks to Trevor Fitzgerald starting with Laravel 5.5, that is due out in July, running this command without any flags will prompt you to pick a provider or tag to make it easier to only publish what you’d like.

Here is a great animated gif showing this action: (click to enlarge)

Laravel 5.5 Vendor Publish

The prompt can be bypassed by using either the --all or --provider flag. This means you can still use it in automated deployments and in your package instructions.


Filed in: Laravel 5.5 / Artisan


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
Full Stack Software Engineer
Atlanta, GA or Remote
Voxie
Laravel/PHP Developer
Chicago, IL
Neon One
Software Engineer, Web Applications
Vaughan, ON, Canada
Blast Motion
Contract Services Software Engineer (Laravel | Vue | Tailwind)
Remote
Riverbed Technology
Senior Laravel Developer
Wilmington, NC
GE Software Inc.
Senior Full Stack Developer (PHP | Vue | DDD)
Charleston, SC
MassageBook