Composer update

This PR fix several issues on page composer by moving all rendering to php.