I have downloaded SLIM and ran the hello world. But I wanted to arrange the project as following :
app |___config | |___controllers |___models |___views | |_____layouts | |___master.php | |___left.php |___vendor |___web | |___index.php | |___assests
Now I wanted something which could work as SERVICE BROKER and move the flow of application from Router to Controller. I wanted to use PHP as template not SMARTY or TWIG.
I am thinking to create a file inside APP folder which 'll collect the slug and accordingly transfer the control to a particular Controller.
Is there any other idea which 'll help me achieve described above.