Unclutter your project Under the hood Sylius uses Doctrine ORM to map your models to the database. Doctrine offers three ways to define the mapping configuration:
Yaml XML Annotations A fresh Sylius project will use *.yaml files by default, which are living in Resources/config/doctrine/. This is configured in config/packages/doctrine.yml at the very bottom.
Its easy to switch to XML format by changing the yml to xml. Of course you have to migrate any existing *.