twisted1919 / mailwizz-php-sdk
Mailwizz PHP-SDK
Installs: 84 151
Dependents: 1
Suggesters: 0
Security: 0
Stars: 79
Watchers: 14
Forks: 48
Open Issues: 8
Requires
- php: >=5.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
- phpstan/phpstan: ^0.12.9
- phpunit/phpunit: ^7.5
README
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?
Install
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.
Test
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