I'm having exactly the same problem but I'm only trying to publish migrations. Weirdly if I remove one service provider it will publish migrations for a different package, but only ever one package. Any solutions yet?
I have a "fix" for it by basically adding the service provider name to the tag to make it unique like so:
$this->publishes([DIR . '/database/migrations' => base_path('database/migrations')], 'myPackageName:migrations');
and then i can call the following artisan command to publish the package migrations:
php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider" --tag="myPackageName:migrations"
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community