add "symfony/form": "~2.2", "symfony/doctrine-bridge": "~2.2" to composer.json