voicecode/laravel-mailcamp

Laravel Mailcamp PHP library

1.2.0 2021-12-10 09:05 UTC

This package is auto-updated.

Last update: 2024-04-10 14:31:45 UTC


README

PHP client library to use the Mailcamp API. Any PR's to make this package more complete, are very welcome.

Installation using Composer

Installing this Mailcamp client for PHP can be done through Composer.

composer require coding-monkeys-bv/laravel-mailcamp

Usage

Before using this package, please get a username and API token from Mailcamp. API tokens can't be created in their demo environment, so you'll have to contact their support.

Currently available functions

Lists

  • Get all available lists
  • Get the details of a specific list

Subscribers

  • Subscribe a new contact to a list
  • Check if an email address is subscribed to a list
  • Update the email address of a contact
  • Delete a contact
  • Unsubscribe a contact from a list

Stats

  • Get statistics

Token

  • Check if your credentials are valid.

Examples

Examples can be found at examples.php