Reputation: 174
How can I install symfony 5 without Doctrine?
My application will get the data from an external API Rest. I must submit the form data to an API. I don't need Doctrine at all.
Upvotes: 1
Views: 1992
Reputation: 436
currently Symfony has 2 skeleton version. website-skeleton
and skeleton
. if you dont need doctrine you can install the skeleton version and you will get the minimal version of Symfony
composer create-project symfony/skeleton my_project_name
source: https://symfony.com/doc/current/setup.html
if you already install the website-skeleton and want to remove the Doctrine run this composer remove symfony/orm-pack
to remove the Doctrine ORM
Upvotes: 5