2017 © Pedro Peláez
 

library sparkify

This is a simple package for sending transactional (triggered) emails via the SparkPost REST Api.

image

brant-wladichuk/sparkify

This is a simple package for sending transactional (triggered) emails via the SparkPost REST Api.

  • Friday, January 27, 2017
  • by BrantWladichuk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 233 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Sparkify for Laravel

Latest Version on Packagist ![Software License][ico-license] ![Quality Score][ico-code-quality] Total Downloads, (*1)

This is a simple package for sending transactional (triggered) emails via the Spark Post REST Api., (*2)

Install

Via Composer, (*3)

``` bash $ composer require brant-wladichuk/sparkify, (*4)


## Usage ``` php $user = \App\User::find(1); $user->spark('template_id', [ 'foo' => 'bar' ])

Setup

Add Service Provider to your app's config (config/app.php), (*5)

``` php 'providers' => [, (*6)

...

BrantWladichuk\Sparkify\SparkifyServiceProvider::class

];, (*7)


Publish the configuration file and update it as required ``` bash php artisan vendor:publish

Extend your user model with the Sparkable trait ``` php <?php, (*8)

namespace App;, (*9)

use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable;, (*10)

use BrantWladichuk\Sparkify\Sparkable;, (*11)

class User extends Authenticatable { use Notifiable, Sparkable;, (*12)

...

```, (*13)

Change log

Please see CHANGELOG for more information on what has changed recently., (*14)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*15)

Security

If you discover any security related issues, please email brantwladichuk@gmail.com instead of using the issue tracker., (*16)

Credits

License

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

The Versions

27/01 2017

dev-master

9999999-dev https://github.com/BrantWladichuk/Sparkify

This is a simple package for sending transactional (triggered) emails via the SparkPost REST Api.

  Sources   Download

MIT

The Requires

 

The Development Requires

spark emails post transactional sparkpost brantwladichuk sparkify triggered

27/01 2017

1.0.0

1.0.0.0 https://github.com/BrantWladichuk/Sparkify

This is a simple package for sending transactional (triggered) emails via the SparkPost REST Api.

  Sources   Download

MIT

The Requires

 

The Development Requires

spark emails post transactional sparkpost brantwladichuk sparkify triggered