2017 © Pedro Peláez
 

library mediasci-mail

image

alyahmmed/mediasci-mail

  • Thursday, February 8, 2018
  • by alyahmmed
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 33 % Grown

The README.md

Installation

This package needs Laravel 5.x, (*1)

Begin by installing this package through Composer. Require it directly from the Terminal to take the last stable version:, (*2)

$ composer require alyahmmed/mediasci-mail dev-master

Once this operation completes, you must add the service provider. Open app/config/app.php, and add a new item to the providers array., (*3)

'providers' => [
    // ...
    Alyahmmed\MediasciMail\MailServiceProvider::class,
],

At this point the inliner should be already working with the default options. If you want to fine-tune these options, you can do so by publishing the configuration file:, (*4)

$ php artisan vendor:publish --provider=Alyahmmed\MediasciMail\MailServiceProvider

Usage

$data = array(
    'subject' => 'test mail',
    'body' => '<h1>Hello</h1>',
    'from' => 'from@domain.com',
    'to' => 'to@domain.com',
);
\Alyahmmed\MediasciMail\MailManager::send($data);

The Versions

08/02 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Ali Mohamed