moxso / laravel-scaleway-tem
A Laravel mailer driver for sending transactional emails through Scaleway TEM.
Fund package maintenance!
Requires
- php: ^8.4
- spatie/laravel-package-tools: ^1.16
- symfony/http-client: ^8.0
- symfony/scaleway-mailer: ^8.0
Requires (Dev)
- laravel/pint: ^1.14
README
Laravel Scaleway TEM Mailer provides a seamless mail transport integration for sending transactional emails through Scaleway Transactional Email (TEM) directly from Laravel applications.
The package adds a dedicated mail driver that allows Laravel's Mail system to deliver messages via the Scaleway TEM API while preserving the familiar Laravel mail workflow.
This package uses the Scaleway API transport only. It does not configure or send mail over SMTP.
Installation
You can install the package via composer:
composer require moxso/laravel-scaleway-tem
Next, you must publish the config file:
php artisan vendor:publish --tag="scaleway-tem-config"
This is the contents of the published config file:
return [ 'project_id' => env('SCALEWAY_TEM_PROJECT_ID'), 'api_key' => env('SCALEWAY_TEM_API_KEY'), 'region' => env('SCALEWAY_TEM_REGION', 'fr-par'), ];
Finally, add the mailer to your config/mail.php configuration file:
'scaleway' => [ 'transport' => 'scaleway', ]
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.