Service provider for laravel which provide Mirfalah Swift_Transport implementation
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
0nepeop1e 87cd93d729 update composer.json and readme 4 gadus atpakaļ
src init 4 gadus atpakaļ
.gitignore init 4 gadus atpakaļ
README.md update composer.json and readme 4 gadus atpakaļ
composer.json update composer.json and readme 4 gadus atpakaļ

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": "https://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=""