Describe the bug
The Router dispatches before all other providers are booted. Third party packages are unable to register routes unless they are booted before the RouteServiceProvider.
To Reproduce
Steps to reproduce the behavior:
Register a route in a service provider that is registered after the RouteServiceProvider.
The route is not registered.
See error
Expected behavior
As the router is a major part of the framework, it should dispatch after all other service providers to allow for easy third party integration.
Describe the bug The
Router
dispatches before all other providers are booted. Third party packages are unable to register routes unless they are booted before theRouteServiceProvider
.To Reproduce Steps to reproduce the behavior:
RouteServiceProvider
.Expected behavior As the router is a major part of the framework, it should dispatch after all other service providers to allow for easy third party integration.