2017 © Pedro Peláez
 

library laravel-elastic-email

A Laravel wrapper for Elastic Email

image

zanysoft/laravel-elastic-email

A Laravel wrapper for Elastic Email

  • Thursday, May 3, 2018
  • by mubasharahmad
  • Repository
  • 1 Watchers
  • 1 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 25 % Grown

The README.md

Laravel Elastic Email

A Laravel wrapper for Elastic Email, (*1)

Installation

Add Laravel Elastic Email as a dependency using the composer CLI:, (*2)

composer require zanysoft/laravel-elastic-email

Next, add the following to your config/services.php and add the correct values to your .env file, (*3)

'elastic_email' => [
    'key' => env('ELASTIC_KEY'),
    'account' => env('ELASTIC_ACCOUNT')
]

Next, in config/app.php, comment out Laravel's default MailServiceProvider. If using < Laravel 5.5, add the MailServiceProvider and ApiServiceProvider to the providers array, (*4)

'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    ...
//    Illuminate\Mail\MailServiceProvider::class,
    ZanySoft\ElasticEmail\MailServiceProvider::class,
    ZanySoft\ElasticEmail\ApiServiceProvider::class,
    ...
],

Next, in config/app.php, add the ElasticEmail to the aliases array, (*5)

'aliases' => [
    ...
    'ElasticEmail' => ZanySoft\ElasticEmail\Facades\ElasticEmail::class,
    ...
],

Finally switch your default mail provider to elastic email in your .env file by setting MAIL_DRIVER=elastic_email, (*6)

MailService Usage

This package works exactly like Laravel's native mailers. Refer to Laravel's Mail documentation., (*7)

Api Usage

For documentation visit https://api.elasticemail.com/public/help, (*8)


//For contact ElasticEmail::Contact() //For emails ElasticEmail::Email()

The Versions

03/05 2018

1.0.3

1.0.3.0

A Laravel wrapper for Elastic Email

  Sources   Download

MIT

The Requires

 

laravel email elastic email

03/05 2018

dev-master

9999999-dev

A Laravel wrapper for Elastic Email

  Sources   Download

MIT

The Requires

 

laravel email elastic email

17/04 2018

1.0.2

1.0.2.0

A Laravel wrapper for Elastic Email

  Sources   Download

MIT

The Requires

 

laravel email elastic email

17/04 2018

1.0.1

1.0.1.0

A Laravel wrapper for Elastic Email

  Sources   Download

MIT

The Requires

 

laravel email elastic email

17/04 2018

0.1.x-dev

0.1.9999999.9999999-dev

A Laravel wrapper for Elastic Email

  Sources   Download

MIT

The Requires

 

laravel email elastic email