Support the ongoing development of →
Configuration Architecture Installation
Last updated 1 year ago.

I solved the problem using middleware in the end:

  1. Add new Setup middleware class and entry in HttpKernel middleware array
  2. Check for existence of paths in middleware class
  3. If not found, and the route name is not already admin/setup (or else we get into a loop) return a redirect to admin/setup
  4. in admin/setup controller, run the setup logic and load a view

Is a reasonably straightforward solution.

Last updated 8 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.