Skip to content

rzeczkowskip/FreshMail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreshMail

A PHP library that easies usage of FreshMail REST API

Installation

The easiest way to get install the library is by using composer:

composer require wizjo/freshmail

Basic usage

$fm = new \Wizjo\FreshMail(API_KEY, API_SECRET);

//get request
$action = $fm->request('/ping');
$data = $action->getData();
echo $data['data']; //will print "pong"

//post request
$action = $fm->request('/ping', ['test' => 'data']);
$data = $action->getData();
echo $data['data']['test']; //will print "data"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%