Skip to content

Commit

Permalink
Update platformsh-laravel-env.php
Browse files Browse the repository at this point in the history
Laravel 7+ compatibility
  • Loading branch information
matthiaz committed Aug 3, 2023
1 parent ac87a6c commit 6f10d90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platformsh-laravel-env.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ function mapPlatformShMail(Config $config) : void
}

setEnvVar('MAIL_DRIVER', 'smtp');
setEnvVar('MAIL_MAILER', 'smtp'); // From laravel 7 onwards MAIL_DRIVER is renamed to MAIL_MAILER
setEnvVar('MAIL_HOST', $config->smtpHost);
setEnvVar('MAIL_PORT', '25');
setEnvVar('MAIL_ENCRYPTION', '0');
Expand Down

0 comments on commit 6f10d90

Please sign in to comment.