PHPackages                             mslwk/freshmail - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mslwk/freshmail

ActiveLibrary[API Development](/categories/api)

mslwk/freshmail
===============

Library for calling FreshMail REST API

1.0.3(5y ago)313.5k2MITPHPPHP ^7.0.0 | ^8.0CI failing

Since Jul 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/maciejslawik/freshmail)[ Packagist](https://packagist.org/packages/mslwk/freshmail)[ RSS](/packages/mslwk-freshmail/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

[![Build Status](https://camo.githubusercontent.com/50395a9e9a907e87b32e95639fc26315ec57f1434c2eb26a920c30348fd9fd2b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d616369656a736c6177696b2f66726573686d61696c2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/maciejslawik/freshmail/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/20174e7644841b47e7e7a5cbe58149dda41997cdc19d07e29d2da9cc3c64318b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d616369656a736c6177696b2f66726573686d61696c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/maciejslawik/freshmail/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f5b08f47b5de81b5f474277906d6454668702ea6c346d827487f72bce04aea05/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d616369656a736c6177696b2f66726573686d61696c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/maciejslawik/freshmail/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/f56fd9a7ab39eb38ca7fcdc1c47d3f8f105f4ef41f1732af8736fcf56f911267/68747470733a2f2f706f7365722e707567782e6f72672f6d736c776b2f66726573686d61696c2f762f737461626c65)](https://packagist.org/packages/mslwk/freshmail)[![License](https://camo.githubusercontent.com/fb64c4d7123caa522cda0e748ceae0badf19d1cb5bdc3b273b810105164b9c02/68747470733a2f2f706f7365722e707567782e6f72672f6d736c776b2f66726573686d61696c2f6c6963656e7365)](https://packagist.org/packages/mslwk/freshmail)[![Total Downloads](https://camo.githubusercontent.com/f716c14c784e09b16c0ce79b6d2fe993bd99aedfb59beae76361eaa5db0fac35/68747470733a2f2f706f7365722e707567782e6f72672f6d736c776b2f66726573686d61696c2f646f776e6c6f616473)](https://packagist.org/packages/mslwk/freshmail)

FreshMail REST API client library
=================================

[](#freshmail-rest-api-client-library)

The library was designed to provide simple interface for using FreshMail API. It is a standalone and requires no outside libraries to work.

#### Usage

[](#usage)

A simple interface is provided to communicate with the API. To call the Ping service:

Use the library:

[![Alt text](docs/use_library.png?raw=true "Use the library")](docs/use_library.png?raw=true)

Call the API:

[![Alt text](docs/ping_example.png?raw=true "Call the API")](docs/ping_example.png?raw=true)

#### Installation

[](#installation)

Use composer to include the library in your project.

```
composer require mslwk/freshmail

```

#### Features

[](#features)

The library provides methods of communicating with the API to:

- Test connection
- Send transactional emails
- Send SMS messages
- Create a new campaign
- Edit, delete, test and send an existing campaign
- Create, delete, get data about and edit a subscriber
- Create, delete and edit a subscription list
- Get subscription lists
- Register a new account
- Spam-test an email

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 76.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~483 days

Total

4

Last Release

1828d ago

PHP version history (2 changes)1.0.0PHP ^7.0.0

1.0.3PHP ^7.0.0 | ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dd1db0bcc71b12f314bdce40703dc572ce6d093a2ff56845f19ddd816283436?d=identicon)[mslwk](/maintainers/mslwk)

---

Top Contributors

[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (16 commits)")[![maciejslawik](https://avatars.githubusercontent.com/u/11910648?v=4)](https://github.com/maciejslawik "maciejslawik (5 commits)")

---

Tags

freshmail

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mslwk-freshmail/health.svg)

```
[![Health](https://phpackages.com/badges/mslwk-freshmail/health.svg)](https://phpackages.com/packages/mslwk-freshmail)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
