2017 © Pedro Peláez
 

laravel kpapostmail

This is KPAPostMail Service

image

king052188/kpapostmail

This is KPAPostMail Service

  • Thursday, November 2, 2017
  • by king052188
  • Repository
  • 0 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

KPAPostMail - Email Launcher for Laravel

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

KPAPostMail is a package for Laravel 5+ that provides helpers for some common Mail Sending techniques., (*2)

Installation

1 - Dependency

The first step is using composer to install the package and automatically update your composer.json file, you can do this by running:, (*3)

composer require king052188/kpapostmail

Note: If you are using Laravel 5.5, the steps 2 and 3, for providers and aliases, are unnecessaries. KPAPostMail supports Laravel new Package Discovery., (*4)

2 - Provider

You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your config/app.php file adding the following code at the end of your 'providers' section:, (*5)

config/app.php, (*6)

// file START ommited
    'providers' => [
        // other providers ommited
        king052188\KPAPostMail\KPAPostMailServiceProvider::class,
    ],
// file END ommited

3 - Facade

Facades are not supported in Lumen., (*7)

In order to use the KPAPostMail facade, you need to register it on the config/app.php file, you can do that the following way:, (*8)

// file START ommited
    'aliases' => [
        'KPAPostMail' => king052188\KPAPostMail\Facades\KPAPostMail::class,
    ],
// file END ommited

4 Configuration

Publish config

In your terminal type, (*9)

php artisan vendor:publish

or, (*10)

php artisan vendor:publish --provider="king052188\KPAPostMail\KPAPostMailServiceProvider"

5 Set up your API

In order to use the KPAPostMail, get your Access Token from here Sign-Up., (*11)

config/services.php, (*12)

// file START ommited
    'KPAPostMail' => [
        'domain' => env('KPAPostMail_DOMAIN', 'postmail.kpa21.info'),
        'email' => env('KPAPostMail_EMAIL', 'YOUR-EMAIL-ADDRESS'),
        'uid' => env('KPAPostMail_UID', 'YOUR-UID'),
    ],
// file END ommited

The Versions

02/11 2017

dev-master

9999999-dev

This is KPAPostMail Service

  Sources   Download

MIT

by King Paulo Aquino

02/11 2017

1.0.1

1.0.1.0

This is KPAPostMail Service

  Sources   Download

MIT

by King Paulo Aquino