PHPackages                             amosoft/mailjet-apiv3-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. amosoft/mailjet-apiv3-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

amosoft/mailjet-apiv3-php
=========================

PHP 5.3 wrapper for the Mailjet API

v1.2.0(9y ago)0755MITPHPPHP &gt;=5.3.0

Since May 22Pushed 8y ago3 watchersCompare

[ Source](https://github.com/AMOSoft/mailjet-apiv3-php)[ Packagist](https://packagist.org/packages/amosoft/mailjet-apiv3-php)[ Docs](https://github.com/AMOSoft/mailjet-apiv3-php)[ RSS](/packages/amosoft-mailjet-apiv3-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (19)Used By (0)

[![alt text](https://camo.githubusercontent.com/f67ada5ab0881bcb3dea968e9c9a558f8b25b5e7c71ce90e2e760c76d0b25c8c/687474703a2f2f63646e2e61707073746f726d2e6e65742f7765622e61707073746f726d2e6e65742f66696c65732f323031322f30322f6d61696c6a65745f6c6f676f5f323030783230302e706e67 "Mailjet")](https://camo.githubusercontent.com/f67ada5ab0881bcb3dea968e9c9a558f8b25b5e7c71ce90e2e760c76d0b25c8c/687474703a2f2f63646e2e61707073746f726d2e6e65742f7765622e61707073746f726d2e6e65742f66696c65732f323031322f30322f6d61696c6a65745f6c6f676f5f323030783230302e706e67)

[![Codacy Badge](https://camo.githubusercontent.com/3b8f62e4f8cd61b1c0d75ba247d579a24a7cb39ef8cc4046c5ec377d1223293b/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3237653039313336343239633431613962396134323330613435306236653739)](https://www.codacy.com/app/dev_AMO_Soft/mailjet-apiv3-php)[![Build Status](https://camo.githubusercontent.com/304db650faaaf40efb17e37407450a75ce819273804221b7f7092bae3d90713c/68747470733a2f2f7472617669732d63692e6f72672f414d4f536f66742f6d61696c6a65742d61706976332d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AMOSoft/mailjet-apiv3-php)[![MIT License](https://camo.githubusercontent.com/48593de0035d3aebc555d81be22bb1136d0741866cc69614fd437cacc7553cf7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3030374543372e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/48593de0035d3aebc555d81be22bb1136d0741866cc69614fd437cacc7553cf7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3030374543372e7376673f7374796c653d666c61742d737175617265)[![Current Version](https://camo.githubusercontent.com/1dd20ab7897e2afa95b7178fe0467c6d03503bfdea3890055c130775e1e12275/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e322e302d677265656e2e737667)](https://camo.githubusercontent.com/1dd20ab7897e2afa95b7178fe0467c6d03503bfdea3890055c130775e1e12275/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e322e302d677265656e2e737667)

[Mailjet](http://www.mailjet.com) API Client, compatible with the old PHP 5.3.

Check out all the resources and all the PHP code examples on the official documentation: [Maijlet Documentation](http://dev.mailjet.com/guides/?php#)

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

[](#requirements)

`PHP >= 5.3`

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

[](#installation)

```
composer require AMOSoft/mailjet-apiv3-php
```

Getting Started !
-----------------

[](#getting-started-)

[grab](https://app.mailjet.com/account/api_keys) and save your Mailjet API credentials. It will create some variables available in your code, via the `getenv` function:

```
export MJ_APIKEY_PUBLIC='your api key'
export MJ_APIKEY_PRIVATE='your api secret'
```

Initialize your [Mailjet](http://www.mailjet.com) Client:

```
