Installation composer require psys/symfony-utils Add this to services.yaml: _defaults: bind: $projectDir: '%kernel.project_dir%' at the end: Psys\SymfonyUtils\FormErrors: autowire: true Psys\SymfonyUtils\FileUploader: autowire: true