Commands.app

php artisan vendor:publish

Utility

Publish any publishable assets from vendor packages

Options & Flags
Available options for this command
--tag

Publish assets with specific tag

--provider

Publish assets from specific provider

--force

Overwrite existing files

Examples
Common usage examples

Publish all available assets (interactive)

php artisan vendor:publish

Publish config files

php artisan vendor:publish --tag=config

Publish from specific provider

php artisan vendor:publish --provider="Vendor\Package\ServiceProvider"
Notes
  • Copies package assets to your application
  • Allows customization of package resources