Download the PHP package korridor/symfony-scaleway-tem-mailer without Composer
On this page you can find all versions of the php package korridor/symfony-scaleway-tem-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download korridor/symfony-scaleway-tem-mailer
More information about korridor/symfony-scaleway-tem-mailer
Files in korridor/symfony-scaleway-tem-mailer
Package symfony-scaleway-tem-mailer
Short Description Symfony Scaleway transaction email (TEM) Mailer Bridge
License MIT
Homepage https://github.com/korridor/symfony-scaleway-tem-mailer
Informations about the package symfony-scaleway-tem-mailer
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
Installation
You can install the package via composer with following command:
Requirements
This package is tested for the following Laravel and PHP versions:
- 9.* (PHP 8.1)
Usage examples
Laravel
Add the following code to the AppServiceProvider
:
Now add the following lines to the config/mail.php
file in the mailers
array:
If you want to use the SMTP integration instead use following lines:
Symfony
Add the following lines to the config/services.yaml
file:
Then MAILER_DSN
environment variable for example like this:
Contributing
I am open for suggestions and contributions. Just create an issue or a pull request.
Local docker environment
The docker
folder contains a local docker environment for development.
The docker workspace has composer and xdebug installed.
Testing
The composer test
command runs all tests with phpunit.
The composer test-coverage
command runs all tests with phpunit and creates a coverage report into the coverage
folder.
Codeformatting/Linting
The composer fix
command formats the code with php-cs-fixer.
The composer lint
command checks the code with phpcs.
Credits
The structure of the repository is inspired by the project symfony/postmark-mailer.
License
This package is licensed under the MIT License (MIT). Please see license file for more information.