What other ones do you know of that are good and in sync with modern PHP?
From memory I know of zendframework/zend-code and nette/php-generator.
Worked around to do what?
The article states that I would not need to write target code in strings. On the contrary - compete function body seems to be a string variable. Maybe a I could have asked the question another way: is there an alternative way of setting method body (preferably in compliance with the statement about not needing string variables)?