PHPackages                             mysendingbox/mysendingbox-php - 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. mysendingbox/mysendingbox-php

ActiveLibrary[API Development](/categories/api)

mysendingbox/mysendingbox-php
=============================

Mysendingbox.fr API PHP wrapper.

v0.3.3(2y ago)1462MITPHPPHP ^7.4

Since Mar 4Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/MySendingBox/mysendingbox-php)[ Packagist](https://packagist.org/packages/mysendingbox/mysendingbox-php)[ RSS](/packages/mysendingbox-mysendingbox-php/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (4)Versions (10)Used By (0)

mysendingbox-php
================

[](#mysendingbox-php)

[![Packagist version](https://camo.githubusercontent.com/3104022326d9b2ea446ee5d9ae51dbbec5f19bed9b9d3e411a86bf9d39c28a40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7973656e64696e67626f782f6d7973656e64696e67626f782d7068702e737667)](https://github.com/mysendingbox/mysendingbox-php)[![Dependency Status](https://camo.githubusercontent.com/47a23524eed0c678b9f279b767e03c2a9926994b446c6b7fcf61c94b6067e692/68747470733a2f2f67656d6e617369756d2e636f6d2f6261646765732f6769746875622e636f6d2f6d7973656e64696e67626f782f6d7973656e64696e67626f782d7068702e737667)](https://gemnasium.com/github.com/mysendingbox/mysendingbox-php)

Mysendingbox.fr PHP Client is a simple but flexible wrapper for the [Mysendingbox.fr](https://www.mysendingbox.fr) API. See full Mysendingbox.fr documentation [here](https://docs.mysendingbox.fr/). For best results, be sure that you're using the latest version of the Mysendingbox API and the latest version of the PHP wrapper.

Table of Contents
-----------------

[](#table-of-contents)

- [Getting Started](#getting-started)
    - [Registration](#registration)
    - [Installation](#installation)
    - [Letters](#usage)
    - [Accounts](#accounts)
    - [Invoices](#invoices)
- [Examples](#examples)

Getting Started
---------------

[](#getting-started)

Here's a general overview of the Mysendingbox services available, click through to read more.

Please read through the official [API Documentation](https://docs.mysendingbox.fr/?php#) to get a complete sense of what to expect from each endpoint.

### Registration

[](#registration)

First, you will need to first create an account at [Mysendingbox.fr](https://www.mysendingbox.fr/signup) and obtain your Test and Live API Keys.

Once you have created an account, you can access your API Keys from the [API keys Panel](https://www.mysendingbox.fr/app/dashboard/keys).

### Installation

[](#installation)

The recommended way to install Mysendingbox.fr PHP Client is through [Composer](http://getcomposer.org).

```
// Install Composer
curl -sS https://getcomposer.org/installer | php

// Add Mysendingbox.fr PHP client as a dependency
composer require mysendingbox/mysendingbox-php
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

### Letters

[](#letters)

#### Create a new Letter

[](#create-a-new-letter)

```
