https://github.com/wildsideuk/laravel-mailguneu
Allow customising the Mailgun server URL to use EU servers.
https://github.com/wildsideuk/laravel-mailguneu
eu gdpr laravel laravel-package mailgun php
Last synced: 7 months ago
JSON representation
Allow customising the Mailgun server URL to use EU servers.
- Host: GitHub
- URL: https://github.com/wildsideuk/laravel-mailguneu
- Owner: WildsideUK
- License: mit
- Created: 2018-07-27T12:44:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-17T08:42:23.000Z (over 6 years ago)
- Last Synced: 2024-08-09T05:45:38.597Z (about 1 year ago)
- Topics: eu, gdpr, laravel, laravel-package, mailgun, php
- Language: PHP
- Homepage: https://wildside.uk
- Size: 7.81 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wildside/MailgunEu
Provides a replacement `MailServiceProvider` in Laravel which requires setting the full Mailgun base URL.
## Requirements
* This package requires PHP 5.6+
* It works with Laravel 5.x (and may work with earlier versions too).
* It does not work with Laravel 5.5 or Laravel 5.7 (or newer) as native support for the EU endpoint is available.## Installation
Require this package with composer
````
composer require wildside/mailguneu
````Replace your `MailServiceProvider` in `config/app.php`.
```php
// Illuminate\Mail\MailServiceProvider::class,
Wildside\MailgunEu\MailServiceProvider::class,
```Update your `mailgun.domain` value in `config/services.php` to provide the full API URL (e.g. https://api.mailgun.net/v3/mg.example.org instead of mg.example.org)
## License
This open-source software is licensed under the [MIT license](https://opensource.org/licenses/MIT).