Closed elegasoft closed 10 months ago
The package discovery was intentionally never implemented, because the bugsnag service provider needs to be registered in a specific order.
Thus, package discovery is not suitable, and this PR should not be merged.
Updates compose.json to use the Laravel Package Discovery feature eliminating the need to manually add the BugSnagServiceProvider and/or Facade to their respective arrays in
config/app.php
. You should also change the documentation regarding the onboard/installation process for Laravel apps.Goal
Reduces the onboarding process to a near zero config setup
Design
Laravel has allowed package discovery since v5.5 released in August 2017.
Changeset
composer.json extras/laravel added
Testing
No tests necessary to implement this change.