Publish Bugsnag's Laravel Configuration Only
This post is more than 18 months old. Since technology changes too rapidly, this content may be out of date (but
that's not always the case). Please remember to verify any technical or programming information with the current
release.
If you follow the instructions to customize the configuration of Bugsnag’s Laravel package, they’ll tell you to run vendor:publish
. But this is not what I want.
This may actually publish more things than just their package’s details.
Instead, you can easily limit this to their configuration only by targeting their service provider with the following command:
php artisan vendor:publish --provider="Bugsnag\BugsnagLaravel\BugsnagServiceProvider"
Now, it will only publish the config/bugnsag.php
file.