PHPackages                             korridor/symfony-scaleway-tem-mailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. korridor/symfony-scaleway-tem-mailer

Abandoned → [symfony/scaleway-mailer](/?search=symfony%2Fscaleway-mailer)Symfony-mailer-bridge

korridor/symfony-scaleway-tem-mailer
====================================

Symfony Scaleway transaction email (TEM) Mailer Bridge

0.0.3(3y ago)66601[3 PRs](https://github.com/korridor/symfony-scaleway-tem-mailer/pulls)MITPHPPHP &gt;=8.1

Since Jan 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/korridor/symfony-scaleway-tem-mailer)[ Packagist](https://packagist.org/packages/korridor/symfony-scaleway-tem-mailer)[ Docs](https://github.com/korridor/symfony-scaleway-tem-mailer)[ RSS](/packages/korridor-symfony-scaleway-tem-mailer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (6)Used By (0)

Symfony Scaleway TEM mailer
===========================

[](#symfony-scaleway-tem-mailer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ad81fb478b08c6cb556ddf3348887cb253eeeabeb359d902c6f4b944e2a5ecc9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f727269646f722f73796d666f6e792d7363616c657761792d74656d2d6d61696c65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/korridor/symfony-scaleway-tem-mailer)[![License](https://camo.githubusercontent.com/31a0b2e8469256062ab0b9e7ba6189a327129b63b27869e98044787e53dbd11d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b6f727269646f722f73796d666f6e792d7363616c657761792d74656d2d6d61696c65723f7374796c653d666c61742d737175617265)](license.md)[![Supported PHP versions](https://camo.githubusercontent.com/76bf03057e877a41237caccfb76240bbbd84dc391fbc0aecbf54851925053d15/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b6f727269646f722f73796d666f6e792d7363616c657761792d74656d2d6d61696c65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/korridor/symfony-scaleway-tem-mailer)[![GitHub Workflow Tests](https://camo.githubusercontent.com/4f4077ef5e7a2d8af60ff8d9138b0124909cd3a225d258799b59ee1991385e47/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f727269646f722f73796d666f6e792d7363616c657761792d74656d2d6d61696c65722f756e697474657374732e796d6c3f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/korridor/symfony-scaleway-tem-mailer/actions/workflows/unittests.yml)[![GitHub Workflow Lint](https://camo.githubusercontent.com/37a073df673f48b835e7c914e0261de5408c41ef4b1c83c4a1ad925060b845c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f727269646f722f73796d666f6e792d7363616c657761792d74656d2d6d61696c65722f6c696e742e796d6c3f6c6162656c3d6c696e74267374796c653d666c61742d737175617265)](https://github.com/korridor/symfony-scaleway-tem-mailer/actions/workflows/lint.yml)[![Codecov](https://camo.githubusercontent.com/c5fcc40187a239ba9da294871828e7aa22a9d6aeacd3907459f466cf0b456f18/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6b6f727269646f722f73796d666f6e792d7363616c657761792d74656d2d6d61696c65723f7374796c653d666c61742d737175617265)](https://codecov.io/gh/korridor/symfony-scaleway-tem-mailer)

Warning

This package is no longer necessary since Symfony created their own mailer for Scaleway TEM.

Please use this instead: [Symfony Mailer - Scaleway](https://github.com/symfony/scaleway-mailer)

Installation
------------

[](#installation)

You can install the package via composer with following command:

```
composer require korridor/symfony-scaleway-tem-mailer
```

### Requirements

[](#requirements)

This package is tested for the following Laravel and PHP versions:

- 9.\* (PHP 8.1)

Usage examples
--------------

[](#usage-examples)

### Laravel

[](#laravel)

Add the following code to the `AppServiceProvider`:

```
use Korridor\SymfonyScalewayTemMailer\Transport\ScalewayApiTransport;
use Korridor\SymfonyScalewayTemMailer\Transport\ScalewaySmtpTransport;

    // ..

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot(): void
    {
        // ...
        Mail::extend('scaleway-api', function (array $config = []) {
            return new ScalewayApiTransport($config['token'], $config['region'], $config['project_id']);
        });
        Mail::extend('scaleway-smtp', function (array $config = []) {
            return new ScalewaySmtpTransport($config['token'], $config['region'], $config['project_id']);
        });
    }
```

Now add the following lines to the `config/mail.php` file in the `mailers` array:

```
'scaleway' => [
    'transport' => 'scaleway-api',
    'region' => env('MAIL_SCALEWAY_REGION', 'fr-par'),
    'token' => env('MAIL_SCALEWAY_TOKEN'),
    'project_id' => env('MAIL_SCALEWAY_PROJECT_ID'),
],
```

If you want to use the SMTP integration instead use following lines:

```
'scaleway' => [
    'transport' => 'scaleway-smtp',
    'region' => env('MAIL_SCALEWAY_REGION', 'fr-par'),
    'token' => env('MAIL_SCALEWAY_TOKEN'),
    'project_id' => env('MAIL_SCALEWAY_PROJECT_ID'),
],
```

### Symfony

[](#symfony)

Add the following lines to the `config/services.yaml` file:

```
mailer.transport_factory.scaleway:
    class: Korridor\SymfonyScalewayTemMailer\Transport\ScalewayTransportFactory
    parent: mailer.transport_factory.abstract
    tags:
        - {name: mailer.transport_factory}
```

Then `MAILER_DSN` environment variable for example like this:

```
MAILER_DSN=scaleway+api://SCW_PROJECT_ID:SCW_SECRET_KEY@api.scaleway.com
```

Contributing
------------

[](#contributing)

I am open for suggestions and contributions. Just create an issue or a pull request.

### Local docker environment

[](#local-docker-environment)

The `docker` folder contains a local docker environment for development. The docker workspace has composer and xdebug installed.

```
docker-compose run workspace bash
```

### Testing

[](#testing)

The `composer test` command runs all tests with [phpunit](https://phpunit.de/). The `composer test-coverage` command runs all tests with phpunit and creates a coverage report into the `coverage`folder.

### Codeformatting/Linting

[](#codeformattinglinting)

The `composer fix` command formats the code with [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer). The `composer lint` command checks the code with [phpcs](https://github.com/squizlabs/PHP_CodeSniffer).

Credits
-------

[](#credits)

The structure of the repository is inspired by the project [symfony/postmark-mailer](https://github.com/symfony/postmark-mailer).

License
-------

[](#license)

This package is licensed under the MIT License (MIT). Please see [license file](license.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Total

3

Last Release

1103d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/728181ca75a1f175821f8adf7526047da19253c88ec012b236031f4fab1c5cf0?d=identicon)[korridor](/maintainers/korridor)

---

Top Contributors

[![korridor](https://avatars.githubusercontent.com/u/26689068?v=4)](https://github.com/korridor "korridor (16 commits)")

---

Tags

laravelphpscalewayscaleway-apisymfonysymfony-mailersymfonysymfony mailerscalewayscaleway-api

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/korridor-symfony-scaleway-tem-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/korridor-symfony-scaleway-tem-mailer/health.svg)](https://phpackages.com/packages/korridor-symfony-scaleway-tem-mailer)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29733.3k](/packages/sulu-skeleton)[zenstruck/mailer-test

Alternative, opinionated helpers for testing emails sent with symfony/mailer.

46671.1k3](/packages/zenstruck-mailer-test)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)[dotkernel/dot-mail

Dotkernel mail component based on symfony mailer

1140.0k5](/packages/dotkernel-dot-mail)[nucleos/profile-bundle

Registration and profile management for symfony

12218.5k1](/packages/nucleos-profile-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
