2017 © Pedro Peláez
 

library emailvision

This small library provides support for the 'REST' interface exposed by Emailvision.

image

namshi/emailvision

This small library provides support for the 'REST' interface exposed by Emailvision.

  • Sunday, March 16, 2014
  • by odino
  • Repository
  • 13 Watchers
  • 3 Stars
  • 27,229 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

NAMSHI | EmailVision

Build Status, (*1)

SensioLabsInsight, (*2)

This small library provides support for the "SOAP" interface exposed by EmailVision., (*3)

Installation

You can install this library via composer: have a look at the package on packagist., (*4)

The include it into your composer.json:, (*5)

"namshi/emailvision": "1.0.*",

Pick major and minor version according to your needs., (*6)

Usage

Using this library is pretty trivial, the only "difficult" thing to do is to define the configuration needed by Emailvision:, (*7)

``` php <?php, (*8)

use Namshi\Emailvision\Client;, (*9)

$config = array('template_for_password_reset_email' => array( 'random' => 'iTag', 'encrypt' => 'sTag', 'senddate' => new \DateTime(), 'uidkey' => 'uKey', 'stype' => 'stype', ));, (*10)

$emailvisionClient = new Client($config); $emailvisionClient->sendEmail("template_for_password_reset_email", "someone@gmail.com", array('name' => 'Alex'));, (*11)


## Tests You can run the test suite by first installing the dependencies and running PHPUnit:

php composer.phar update, (*12)

phpunit, (*13)


There are a couple integration tests that actually verify that the library works flawlessly, by actually hitting the emailvision API. Given that you need valid credentials for that, just create a file called `emailvision.config` in your system's temporary folder (`sys_get_temp_dir()`) with 3 parameters: ``` php <?php $encrypt = 'xxx'; $random = 'yyy'; $email = 'your.name@gmail.com';

Have a look at the tests these variables are used., (*14)

The Versions

16/03 2014

dev-master

9999999-dev

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Development Requires

16/03 2014

1.1.3

1.1.3.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Development Requires

06/02 2014

1.1.2

1.1.2.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Development Requires

06/02 2014

dev-emailvision-soap-client

dev-emailvision-soap-client

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Development Requires

29/06 2013

1.1.1

1.1.1.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2013

1.1.0

1.1.0.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2013

1.0.3

1.0.3.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2013

1.0.2

1.0.2.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2013

1.0.1

1.0.1.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/06 2013

1.0.0

1.0.0.0

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/06 2013

1.0.0-beta2

1.0.0.0-beta2

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires

 

The Development Requires

15/05 2013

1.0.0-beta1

1.0.0.0-beta1

This small library provides support for the 'REST' interface exposed by Emailvision.

  Sources   Download

MIT

The Requires