According to this pull as well as the Laravel docs Upgrade Guide, the switch from SwiftMailer to Symfony Mailer happened in Laravel 9; your version is 8.83, which still uses SwiftMailer.
Jul 17, 2022
5
Level 2
Unable to uninstall Swift Mailer
I upgraded my Laravel 7 project to Laravel 8. Now I just want to remove Swift Mailer and install Symfony Mailer but I'am getting the following error:
Removal failed, swiftmailer/swiftmailer is still present, it may be required by another package. See `composer why swiftmailer/swiftmailer`.
When I run composer why swiftmailer/swiftmailer i get:
laravel/framework v8.83.19 requires swiftmailer/swiftmailer (^6.3)
Since composer keeps advocating the switch to Symfony Mailer, how is one supposed to migrate?
Level 27
1 like
Please or to participate in this conversation.