Service provider for laravel which provide Mirfalah Swift_Transport implementation
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Lim Eng Shun fcdce6f939 Update 'README.md' il y a 4 ans
src init il y a 4 ans
.gitignore init il y a 4 ans
README.md Update 'README.md' il y a 4 ans
composer.json Update 'composer.json' il y a 4 ans

README.md

mirfalah/laravel-swift

Service provider for laravel which provide Mirfalah Swift_Transport implementation


Installation

Add following repository records into composer.json

{
  "repositories": [{
    "type": "composer",
    "url": "http://composer.mirfalah.my"
  }
}

Then execute

composer require mirfalah/laravel-swift ^1.0

Usage

# file: config/mail.php
return [
    ...
    'mirfalah' => [
        'api_key'=> env('MIRFALAH_SENDMAIL_APIKEY'),
        'secret'=> env('MIRFALAH_SENDMAIL_SECRET'),
        'endpoint' => env(
            'MIRFALAH_SENDMAIL_ENDPOINT',
            'https://pahangmail.mirfalah.my/mirfalah-sendmail/index.php'
        )
    ]
    ...
];
# file: .env
MAIL_DRIVER=mirfalah
MIRFALAH_SENDMAIL_APIKEY=""
MIRFALAH_SENDMAIL_SECRET=""