This package provides an easy way to talk to the Laposta API. Laposta is a Dutch platform to send newsletters.
The current version of the package provides support to manage lists and members.
For more information regarding the Laposta API you can visit their documentation.
You can install the package via composer:
composer require mrk-j/laposta
/* Create new Laposta instance */
$laposta = new Mrkj\Laposta\Laposta('{YOUR API KEY}');
/* Create new list */
$list = $laposta->createList('New list');
/* Update list */
$list->name = 'Updated list';
$laposta->updateList($list);
/* Delete list */
$laposta->deleteList($list);
/* Create new member */
$member = $laposta->createMember($list->id, '[email protected]');
/* Update member */
$member->email = '[email protected]';
$laposta->updateMember($member);
/* Delete member */
$laposta->deleteMember($member);
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.