2017 © Pedro Peláez
 

library greenarrow-php

Simple PHP wrapper for GreenArrow's sending email API

image

bcismariu/greenarrow-php

Simple PHP wrapper for GreenArrow's sending email API

  • Thursday, January 19, 2017
  • by bcismariu
  • Repository
  • 1 Watchers
  • 1 Stars
  • 192 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Simple PHP wrapper for GreenArrow's sending email API

Build Status Latest Stable Version License Total Downloads, (*1)

Installation

Update your composer.json file, (*2)

{
    "require": {
        "bcismariu/greenarrow-php": "0.*"
    }
}

Run composer update, (*3)

Usage


use Bcismariu\GreenArrow\GreenArrow; use GuzzleHttp\Client; use Http\Adapter\Guzzle6\Client as GuzzleAdapter; $mailer = new GreenArrow(new GuzzleAdapter(new Client()), [ 'username' => 'username', 'password' => 'password', ]); $mailer->send([ 'message' => [ 'to' => [[ 'name' => 'John Smith', 'email' => 'john.smith@example.com' ]], 'from_name' => 'Jane Doe', 'from_email' => 'jane.doe@example.com', 'subject' => 'A simple subject', 'html' => '

A simple html body

', ], ]);

Contributions

This is a very basic implementation that can only handle basic calls. Any project contributions are welcomed!, (*4)

The Versions

19/01 2017

dev-master

9999999-dev

Simple PHP wrapper for GreenArrow's sending email API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bogdan Cismariu

greenarrow

19/01 2017

v0.0.1

0.0.1.0

Simple PHP wrapper for GreenArrow's sending email API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bogdan Cismariu

greenarrow