2017 © Pedro Peláez
 

library laposta

An easy way to work with the Laposta API

image

mrk-j/laposta

An easy way to work with the Laposta API

  • Wednesday, March 14, 2018
  • by mrk-j
  • Repository
  • 1 Watchers
  • 0 Stars
  • 70 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

An easy way to work with the Laposta API

Latest Version on Packagist Build Status Quality Score StyleCI Total Downloads, (*1)

This package provides an easy way to talk to the Laposta API. Laposta is a Dutch platform to send newsletters., (*2)

The current version of the package provides support to manage lists and members., (*3)

For more information regarding the Laposta API you can visit their documentation., (*4)

Installation

You can install the package via composer:, (*5)

composer require mrk-j/laposta

Usage

``` php /* Create new Laposta instance */ $laposta = new Mrkj\Laposta\Laposta('{YOUR API KEY}');, (*6)

/* Create new list */ $list = $laposta->createList('New list');, (*7)

/* Update list */ $list->name = 'Updated list'; $laposta->updateList($list);, (*8)

/* Delete list */ $laposta->deleteList($list);, (*9)

/* Create new member */ $member = $laposta->createMember($list->id, 'foo@example.com');, (*10)

/* Update member */ $member->email = 'bar@example.com'; $laposta->updateMember($member);, (*11)

/* Delete member */ $laposta->deleteMember($member);, (*12)


## Changelog Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. ## Testing ``` bash $ composer test

Contributing

Please see CONTRIBUTING for details., (*13)

Security

If you discover any security related issues, please email github@markj.nl instead of using the issue tracker., (*14)

Credits

License

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

The Versions

14/03 2018

dev-master

9999999-dev https://github.com/mrk-j/laposta

An easy way to work with the Laposta API

  Sources   Download

MIT

The Requires

 

The Development Requires

mrkj laposta

14/03 2018

v1.0.1

1.0.1.0 https://github.com/mrk-j/laposta

An easy way to work with the Laposta API

  Sources   Download

MIT

The Requires

 

The Development Requires

mrkj laposta

13/05 2017

v1.0.0

1.0.0.0 https://github.com/mrk-j/laposta

An easy way to work with the Laposta API

  Sources   Download

MIT

The Requires

 

The Development Requires

mrkj laposta