coding-monkeys-bv / laravel-mailcamp

PHP client for the Mailcamp API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Mailcamp PHP Library

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

About

PHP client for the Mailcamp API

License:MIT License


Languages

Language:PHP 97.8%Language:Shell 2.2%