Nice to see you used Twig to create views. Twig is great with Slim for creating Templates. The process is really easy. You should have also mentioned how to render views, like mentioned here: https://www.cloudways.com/blog/twig-templates-in-slim/
This would have completed this tutorial.
Hi there, have seen most of your tutorials and they brought light to the things i find difficult to do as a ground beginner. I want to create a voting site with a user and admin section, using slim framework, twig, twbs, monolog, eloquent or PDO, phpmailer, crsf, and the rest librabries required but have no clue on how to wrap them up all together. will really be greatful if you can help with a tutorial or a direct email to guide me through. Have thought of the logic on how it will flow but no clue on how to implement. registration, login, sign in while signing up, verify email, given token password at registration, forgot password, change token password, get votes, post votes, logout, security, etc.. would love to know how to go about it all using the slim 3 framework.. Thanks in advance! My mail is email@example.com