项目作者: sigrundev

项目描述 :
Laravel mail driver for EmaillLabs API
高级语言: PHP
项目地址: git://github.com/sigrundev/lelpl.git
创建时间: 2019-07-20T20:25:16Z
项目社区:https://github.com/sigrundev/lelpl

开源协议:MIT License

下载


lelpl

Laravel mail driver for EmaillLabs API. EmailLabs is available at emaillabs.pl.
Adds el mail driver.

Installation

It’s really simple, just use Composer:

  1. composer require sigrun/lelpl

In case of any issues, you should add version constraint to package name:

  1. composer require sigrun/lelpl@dev-master

Laravel up to 5.4.*

If you’re using older Laravel versions (up to 5.4.*), you should add package’s service provider to your config/app.php, as following:

  1. $providers = [
  2. // Package Service Providers...
  3. \Sigrun\El\ElServiceProvider::class,
  4. ];

Laravel 5.5+ should auto-discover service provider from the package.

Configuration

Publish config file from Artisan console:

  1. php artisan vendor:publish

and choose assets from sigrun/lelpl.

Next, you should set necessary env variables: EL_SMTP_ACCOUNT, EL_APP_KEY, EL_APP_SECRET

That’s it!

Please note, that this package is as simple as it can be, lacking many of the EmailLabs API functionalities. It just sends simple mail using Laravel mailing logic.

Package is provided as it is, and therefore, we provide no guarantee that it would work as expected.

Feel free to suggest any changes whatsoever, I’ll be more than glad to hear about them!