Add head children via PHP

Can anybody give a hint how to add a new child element to the page head from my php app like a canonical tag or overriding the title tag?

I need this for my plugin detail view because having the same title for all displayed items is kind of a problem.

keep in mind that I’m in my flow module in PHP.

Thank you for any hint.