An open API service indexing awesome lists of open source software.

https://github.com/anny-co/laravel-scaleway-tem

Adding Scaleway TEM to Laravel
https://github.com/anny-co/laravel-scaleway-tem

laravel scaleway

Last synced: 4 months ago
JSON representation

Adding Scaleway TEM to Laravel

Awesome Lists containing this project

README

        

# 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.

```php
'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:
```php
'scaleway' => [
'transport' => 'scaleway',
]
```