mooglepost/mooglepost-api-php-client

PHP client library for MooglePost API

Installs: 8 680

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mooglepost/mooglepost-api-php-client

1.3.1 2023-05-27 11:50 UTC

This package is auto-updated.

Last update: 2025-09-27 17:19:03 UTC


README

PHP client library for MooglePost API

Latest Stable Version License

Installation

Install directly via Composer:

$ composer require mooglepost/mooglepost-api-php-client

Basic Usage

<?php

require_once 'vendor/autoload.php';

$mglpst = new MooglePost\Client('YOUR_API_KEY');

try {
	$mglpst->send('email@example.com', 'template-name');
} catch (Exception $e) {
	die('A MooglePost error occurred: '.$e->getMessage());
}

die('Your email has been sent !');