anny / laravel-scaleway-tem
A Laravel package to extend mail with Scaleway transactional email
1.0.0
2024-09-24 21:50 UTC
Requires
- php: ^8.0
- illuminate/support: ^9.0|^10.0|^11.0
- symfony/scaleway-mailer: ^6.4|^7.1
README
This package provides a simple way to send emails using the Scaleway TEM service directly from your Laravel application.
Installation
composer require anny/laravel-scaleway-tem
This package adds automatically the Scaleway mailer to your mail config. First you need to add the credentials for the Scaleway API to your services.php config file.
'scaleway' => [ 'project_id' => env('SCALEWAY_PROJECT_ID'), 'api_key' => env('SCALEWAY_API_KEY'), 'region' => env('SCALEWAY_REGION', 'fr-par'), ]
After that, extend you mail config with the following code:
'scaleway' => [ 'transport' => 'scaleway', ]