After a long time of development process, I have hundreds of router files.
I was using glob to load router files. Now I just think that is it possible to only load some router to save memory on every request?
For example, to load login page, i just load router for login only.
The reason i using glob because i have read this article >> https://www.slimframework.com/2011/09/24/how-to-organize-a-large-slim-framework-application.html
How to achieve this?