PHPackages                             rossriley/mailjet - 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. rossriley/mailjet

ActiveLibrary[API Development](/categories/api)

rossriley/mailjet
=================

Mailjet API wrapper for PHP 5.3

1.0.0(12y ago)013MITPHPPHP &gt;=5.3.3

Since Aug 30Pushed 12y ago1 watchersCompare

[ Source](https://github.com/rossriley/Mailjet)[ Packagist](https://packagist.org/packages/rossriley/mailjet)[ Docs](https://github.com/dguyon/Mailjet)[ RSS](/packages/rossriley-mailjet/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Mailjet API wrapper for PHP 5.3
===============================

[](#mailjet-api-wrapper-for-php-53)

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

[](#requirements)

- PHP &gt;= 5.3.3
- CURL extension for PHP
- a Mailjet account with your apiKey and apiSecret (subscribe at )

How to use
----------

[](#how-to-use)

### Install vendors

[](#install-vendors)

After cloning or downloading this library, just hit your favorite terminal with :

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

```

### Autoload

[](#autoload)

This library is using PSR-0 autoloading conventions helped by the Composer :

```
require_once path/to/vendor/.composer/autoload.php';

```

### Create a Connection

[](#create-a-connection)

```
$connection = Mailjet\Connection\Curl('MAILJET_API_KEY', 'MAILJET_API_SECRET');

```

You can customize Mailjet connection with options :

```
$connection->setOption('protocol', 'https');
$connection->setOption('output', 'xml');

```

### Choose your API

[](#choose-your-api)

Mailjet API is divided into 4 types and each type has a dedicated class :

- Contact
- Lists
- Message
- User

Instanciate an API is like :

```
$mailjet = new Mailjet\Api\Lists($connection);
$results = $mailjet->getAll();

```

Credits
-------

[](#credits)

Credits goes to J.Wage as an inspiration for classes structure.

[![Bitdeli Badge](https://camo.githubusercontent.com/30e5f080469a68decc5a85e6abf89d55da040d8407c9aa8cd7283c3970703cb5/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f646775796f6e2f6d61696c6a65742f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

4641d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5082?v=4)[Ross Riley](/maintainers/rossriley)[@rossriley](https://github.com/rossriley)

---

Top Contributors

[![gyndav](https://avatars.githubusercontent.com/u/61255?v=4)](https://github.com/gyndav "gyndav (9 commits)")[![rossriley](https://avatars.githubusercontent.com/u/5082?v=4)](https://github.com/rossriley "rossriley (7 commits)")[![vdumontier](https://avatars.githubusercontent.com/u/325251?v=4)](https://github.com/vdumontier "vdumontier (2 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

apiclientMailjet

### Embed Badge

![Health badge](/badges/rossriley-mailjet/health.svg)

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

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

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