PHPackages                             noxxie/mailtopay-api - 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. noxxie/mailtopay-api

ActiveLibrary[API Development](/categories/api)

noxxie/mailtopay-api
====================

An PHP API interface for the Mailtopay API

0.1.3(6y ago)011MITPHPCI failing

Since Oct 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/NoxxieNl/mailtopay-API)[ Packagist](https://packagist.org/packages/noxxie/mailtopay-api)[ RSS](/packages/noxxie-mailtopay-api/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (9)Used By (0)

Mailtopay-API
=============

[](#mailtopay-api)

This package aims into making the interface between the MailtoPay API and PHP easier to use. This package can only be used with version 2 of the Mailtopay APi, version 1 is not supported and is deprecated by Mailtopay.

More information regarding the Mailtopay API can be found on the Mailtopay [website](https://mailtopay.nl).

**This project is in open beta, please report any bugs using the issue tracker.**

Requirements
------------

[](#requirements)

- PHP &gt;= 5.3.7

Installation
------------

[](#installation)

```
composer require noxxie/mailtopay-api

```

After installation you can use any given `endpoint` class and use the `client` class to do the request. See the [docs](docs/) directory for more information regarding the endpoints.

Usage
-----

[](#usage)

See the [docs](docs/) directory for information for each endpoint. You can use the `client` class to do the actuall request.

```
use Noxxie\Mailtopay\Client;
...

$client = new Client('id', 'passphrase', 'base_uri', $endpoint);
$response = $client->execute();
```

The `id`, `passphrase` and `base_uri` are provided information from Mailtopay.

### Validation

[](#validation)

This package aims to validate any provided data as much as possible in order to give back invalid that where possible before the request is send to the API. When a invalid parameter is set a `InvalidParameterException` exception will be thrown.

However it is always possible that you enter some wierd combination of data that this package does not validate for. The API also does a validation check and when a error rises from the API an error response is returned. You can pick those up with the `ResponseException` exception.

tests
-----

[](#tests)

Running tests with `phpunit`

```
.\vendor\bin\phpunit

```

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning.

Authors
-------

[](#authors)

- NoxxieNl - [Noxxie.nl](https://noxxie.nl/)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~22 days

Total

4

Last Release

2326d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29e279d65c2b5d9edc049441bf5bd9bdfd14c475b1f8ad0c410883f75f4c77c1?d=identicon)[noxxieNl](/maintainers/noxxieNl)

---

Top Contributors

[![NoxxieNl](https://avatars.githubusercontent.com/u/178611?v=4)](https://github.com/NoxxieNl "NoxxieNl (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/noxxie-mailtopay-api/health.svg)

```
[![Health](https://phpackages.com/badges/noxxie-mailtopay-api/health.svg)](https://phpackages.com/packages/noxxie-mailtopay-api)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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