Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

controllers in subdirectories

Привет! Подскажите пожалуйста, можно ли контроллеры по подгруппам распихать в папке Controllers? А то их там так много ...

Hello! There are a lot of controllers in the "controllers" group. You can easily get confused. Is it possible to organize them according to the subgroups? Thank you

There is option to use multimodule, so yea you can organize your app in subdirectories.



9.0k
Accepted
answer

Hi @Syurmol you can check this example with subcontrollers

Good luck



4.7k

Спасибо !!!



4.7k

MyApp\Controllers\IndexController handler class cannot be loaded :`- (

Check the route and files