Giter VIP home page Giter VIP logo

laravel-elastic-email's Introduction

Laravel Elastic Email

A simple plugin to allow sending emails through Elastic E-Mail

Installation

You can add Laravel Elastic Email as a dependency using the composer CLI:

$ composer require dena-a/laravel-elastic-email

For Laravel 5.1 - 5.3 add the package to your composer.json and run composer update.

"require": {
	"dena-a/laravel-elastic-email": "1.0.3"
},

Next add the following to your config/services.php

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

and add the correct values to your .env file.

Third disable the laravel default MailServiceProvider in config/app.php and add the new ServiceProvider

'providers' => [
    ...
    Dena\LaravelElasticEmail\MailServiceProvider::class,
],

Finally switch your default mail provider to elastic email in your .env file by setting MAIL_DRIVER=elastic_email

Usage

This package was constructed to work exactly the same as the normal laravel mailers and thus usage is the same. For more information regarding sending email through laravel see the Laravel Documentation

License

The MIT License (MIT). Please see License File for more information.

laravel-elastic-email's People

Contributors

dena-a avatar svlcomyoo avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.