Instead of symfony/framework-bundle: "*", it'd be better if you explicitly listed which versions this bundle works with, e.g. ^6.4||^7.0.
Also, the documentation refers to the old style templating, the modern Symfony structure puts templates in the /templates directory, rather that Resources/views.