anny / laravel-scaleway-tem
A Laravel package to extend mail with Scaleway transactional email
Installs: 2 297
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 2
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', ]