Skip to content
Advertisement

Symfony – (1/1) InvalidConfigurationException – Unrecognized option “mailer” under “framework”

I’m quite new at Symfony and struggle with this issue for my internship, when trying to run the project locally :

JavaScript

I’m running PHP 7.4 and Symfony 4, adapting a symfony project from another dev.

In my .env file, I got swiftmailer bundle, I believe mailer was a different kind of mailer bundle used..?

I tried the following request :

JavaScript

And got this :

JavaScript

Thanks for your help !

Advertisement

Answer

If you’re kickstarting another dev’s project, you probably don’t need any composer require. All you have to do is run composer install in project directory to get all the same packages, as previous developer.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement