tldr
I want to make an endpoint /tools/dbadmin
to serve adminer file for database management. In slim 3
Question
During slim 2 era, I simply used to put_file_content
adminer file to an endpoint and use it. Heck I was even able to load its plugins. I know it isn't secure, so I moved on and never needed to use it again for quite some time. But recently, I was asked to quickly make a tool for internal use, And using adminer is convenient, But in slim 3 PSR 7 way of sending page to browser, I can't figure out how to serve adminar on API endpoint. I have tried loading content as variable, and few other hacks, But I am out of ideas. I am really trying to avoid rewriting adminer as slim package. I am also avoiding iframes or handling it as separate server virtual host. Any ideas or guesses..