Add twig dependencies to composer.json