Skip to content

Router dispatches before all other providers are booted #158

@BenRutlandWeb

Description

@BenRutlandWeb

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:

  1. Register a route in a service provider that is registered after the RouteServiceProvider.
  2. The route is not registered.
  3. 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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions