This repository contains the PHP SDK for MailWizz EMA.
You'll find proper example on how to manage lists, subscribers, campaigns, templates and more.
The documentation website at https://api-docs.mailwizz.com/ showcases all the API endpoints.
You can find them in the examples folder as well.
Implementations using MailWizz PHP SDK:
- https://github.com/thangtx/mailwizzphpapi-wrap - A small rest app that acts as a proxy between mailwizz and any other software.
Looking for Node.js implementations instead?
You can either download latest version of the code or you can install it via composer as follows:
composer require twisted1919/mailwizz-php-sdk
Then follow the instructions from examples/setup.php
file.
Following environment variables have to be set, with their proper values:
MAILWIZZ_API_URL
MAILWIZZ_API_PUBLIC_KEY
MAILWIZZ_API_PRIVATE_KEY
Then you can run the tests:
$ composer test