LaravelCollective / annotations

Route and Event Annotations for the Laravel Framework
MIT License
365 stars 73 forks source link

Compatibility with RouteServiceProvider - respect the order of initialization #118

Open josefryzi opened 2 years ago

josefryzi commented 2 years ago

Hi, is it possible to respect order of initialization in app/providers.php?

My app providers order:

The intro:

The problem:

Solution: A) Respect order of providers in app/provider.php B) Somehow trigger annotations boot method before RouterServiceProvider class C) please suggest solution

Could you pleaase help me? Thank you