PHPackages                             axazara/mailbluster-laravel - 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. axazara/mailbluster-laravel

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

axazara/mailbluster-laravel
===========================

This is simple PHP Package for Laravel to interact with MailBluster API.

v2.0.0(4mo ago)06.2k↑246.7%MITPHPPHP ^8.2CI passing

Since Nov 6Pushed 4w agoCompare

[ Source](https://github.com/axazara/mailbluster-laravel)[ Packagist](https://packagist.org/packages/axazara/mailbluster-laravel)[ Docs](https://github.com/axazara/mailbluster-laravel)[ RSS](/packages/axazara-mailbluster-laravel/feed)WikiDiscussions main Synced 2d ago

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

MailBluster Laravel Package
===========================

[](#mailbluster-laravel-package)

[![CI](https://github.com/axazara/mailbluster-laravel/actions/workflows/ci.yml/badge.svg)](https://github.com/axazara/mailbluster-laravel/actions/workflows/ci.yml)[![Latest Version on Packagist](https://camo.githubusercontent.com/5ccac3617c01899b4bb4637cadf1e7be6efcdbb13e39d75c8477bb0e0d1165c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6178617a6172612f6d61696c626c75737465722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axazara/mailbluster-laravel)[![Total Downloads](https://camo.githubusercontent.com/39d16693993945e5b129057394a13c859aca7f9c359eaf1d58586f66d9b4660e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6178617a6172612f6d61696c626c75737465722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axazara/mailbluster-laravel)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

This is simple laravel package to interact with MailBluster API.

```
MailBluster::createLead('lead@exemple.com') // To create a lead
```

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

[](#installation)

You can install the package via composer:

```
composer require axazara/mailbluster-laravel
```

You must publish the config file with:

```
php artisan mailbluster:install
```

This is the contents of the published config file:

```
return [
    'api_url' => env('MAILBLUSTER_API_URL', 'https://api.mailbluster.com/api'),
    'api_key' => env('MAILBLUSTER_API_KEY', ''),
];
```

Setup
-----

[](#setup)

To use the MailBluster API, you need to set the `MAILBLUSTER_API_KEY` environment variables in your `.env` file.

```
MAILBLUSTER_API_KEY=MAILBLUSTER_API_KEY_HERE
```

- `MAILBLUSTER_API_URL` you can get this from MailBluster API doc.
- `MAILBLUSTER_API_KEY` you can get this from your MailBluster account dashboard.

> **IMPORTANT**
>
> - Save your API key as an environment variable in your `.env` file. Do not hardcode it in your code.
> - You must not share your API key with anyone.
> - You must not commit your API key to version control.

Usage
-----

[](#usage)

This package provides a facade to interact with MailBluster API.

### Lead

[](#lead)

Read leads docs [docs](docs/Leads.md)

### Fields

[](#fields)

Read fields docs [docs](docs/Fields.md)

### Products

[](#products)

Read products docs [docs](docs/Products.md)

Contribution
------------

[](#contribution)

You can contribute to this package by forking the repository and submitting a pull request to the `main` branch.

Local Development
-----------------

[](#local-development)

To avoid error in local development or testing environment you can set the `MAILBLUSTER_API_URL` environment variable to `test` in your `.env` file, this will prevent package to send email to MailBluster API. ⚠️Be sure to set the `MAILBLUSTER_API_URL` environment variable to the correct value when deploying to production.

Credits
-------

[](#credits)

- [Axa Zara](https://axazara.com)
- [Elias Elimah](https://github.com/EliasElimah)

Copyright
---------

[](#copyright)

[MailBluster](https://mailbluster.com) is not affiliated with [Axa Zara](https://axazara.com). All rights reserved.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance85

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~275 days

Total

4

Last Release

147d ago

Major Versions

v0.3 → v2.0.02026-02-08

PHP version history (2 changes)v0.1PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d886ac75fa41d8fc4d03c7ae520386c695c74d608ba4ae25fed3ad1ffcef7e6?d=identicon)[axazara](/maintainers/axazara)

---

Top Contributors

[![EliasElimah](https://avatars.githubusercontent.com/u/65785746?v=4)](https://github.com/EliasElimah "EliasElimah (5 commits)")[![AxaZaraCoreDev](https://avatars.githubusercontent.com/u/145849788?v=4)](https://github.com/AxaZaraCoreDev "AxaZaraCoreDev (1 commits)")

---

Tags

laravelAxaZaramailblustermailbluster-laravel

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/axazara-mailbluster-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/axazara-mailbluster-laravel/health.svg)](https://phpackages.com/packages/axazara-mailbluster-laravel)
```

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M199](/packages/laravel-ai)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24857.5k](/packages/vormkracht10-laravel-mails)[backstage/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24884.4k13](/packages/backstage-laravel-mails)

PHPackages © 2026

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