Skip to content

anny-co/laravel-scaleway-tem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Scaleway TEM mailer

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',
    ]