PHPackages                             naffiq/yii2-mailin - 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. naffiq/yii2-mailin

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

naffiq/yii2-mailin
==================

SendinBlue Mailin wrapper for Yii2 framework

1.1.0(9y ago)02781MITPHP

Since Dec 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/naffiq/yii2-mailin)[ Packagist](https://packagist.org/packages/naffiq/yii2-mailin)[ RSS](/packages/naffiq-yii2-mailin/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Yii2 Mailin
===========

[](#yii2-mailin)

[![Build Status](https://camo.githubusercontent.com/73c34fed3f8d9d28f80af210cac2fe60e5b4c9484e0de877846226161012f3a5/68747470733a2f2f7472617669732d63692e6f72672f6e61666669712f796969322d6d61696c696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/naffiq/yii2-mailin)[![Test Coverage](https://camo.githubusercontent.com/cbcb7e10bff11c4124983c591ff9f850656fe40acc62155552ef97844d8c34f5/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e61666669712f796969322d6d61696c696e2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/naffiq/yii2-mailin/coverage)[![Code Climate](https://camo.githubusercontent.com/5a5e2052b28eb63cd3b3601af8f19cb33a679518070c4d3ec4a71e02cd65bbbb/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e61666669712f796969322d6d61696c696e2f6261646765732f6770612e737667)](https://codeclimate.com/github/naffiq/yii2-mailin)

[SendinBlue Mailin](https://github.com/mailin-api/mailin-api-php) wrapper for Yii2 framework.

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

[](#installation)

Preferred way to install is through [composer](http://getcomposer.org)

```
$ composer require naffiq/yii2-mailin
```

Configuration
-------------

[](#configuration)

Get your API key from [SendinBlue account page](https://account.sendinblue.com/advanced/api)and insert it into your config file as follows:

```

```

Usage
-----

[](#usage)

To get [official SendinBlue library](https://github.com/mailin-api/mailin-api-php)Mailin object instance, use `getClient()` method of component

```

```

Refer to [API DOCS](https://apidocs.sendinblue.com) (PHP section) for further usage.

Testing
-------

[](#testing)

Before running tests with PHPUnit, supply your SendInBlue API key via environmental variable, such as this:

```
$ MAILIN_API_KEY=your_key phpunit
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~117 days

Total

2

Last Release

3375d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3990098?v=4)[Galymzhan Abdugalimov](/maintainers/naffiq)[@naffiq](https://github.com/naffiq)

---

Top Contributors

[![naffiq](https://avatars.githubusercontent.com/u/3990098?v=4)](https://github.com/naffiq "naffiq (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/naffiq-yii2-mailin/health.svg)

```
[![Health](https://phpackages.com/badges/naffiq-yii2-mailin/health.svg)](https://phpackages.com/packages/naffiq-yii2-mailin)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

76204.2k5](/packages/loveorigami-yii2-notification-wrapper)[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6736.7k2](/packages/tuyakhov-yii2-notifications)

PHPackages © 2026

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