create controllers in subfolders in yii2

328 Views Asked by At

i need to put admin controllers in subfolder like this
app\controllers\adpanel\AdminsControllers.php
also put view in subfolder like this:
app\views\adpanel\login.php
app\views\adpanel\dashboard.php

is this possible?what should i do?

0

There are 0 best solutions below