PHPackages                             theafolayan/listmonk-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. [API Development](/categories/api)
4. /
5. theafolayan/listmonk-laravel

ActiveLibrary[API Development](/categories/api)

theafolayan/listmonk-laravel
============================

A Laravel package for interacting with the Listmonk API

1.3.0(1y ago)101.7k↑100%5[2 issues](https://github.com/theafolayan/listmonk-laravel/issues)MITPHPPHP ^8.0

Since Jan 5Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/theafolayan/listmonk-laravel)[ Packagist](https://packagist.org/packages/theafolayan/listmonk-laravel)[ RSS](/packages/theafolayan-listmonk-laravel/feed)WikiDiscussions main Synced 1mo ago

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

Listmonk Laravel
================

[](#listmonk-laravel)

A Laravel package for interacting with the [Listmonk API](https://listmonk.app/docs/apis/apis/).

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

[](#installation)

1. Install the package via Composer:

    ```
    composer require theafolayan/listmonk-laravel
    ```
2. Publish the configuration file:

    ```
    php artisan vendor:publish --tag=listmonk-config
    ```
3. Configure your `.env` file with the following variables:

    ```
    LISTMONK_BASE_URL=
    LISTMONK_API_USER=
    LISTMONK_API_TOKEN=
    ```

Usage
-----

[](#usage)

### Example: Manage Subscribers

[](#example-manage-subscribers)

Get all subscribers:

```
use Theafolayan\ListmonkLaravel\Facades\Listmonk;

$subscribers = Listmonk::getSubscribers();
```

### Add a subscriber

[](#add-a-subscriber)

```
$newSubscriber = Listmonk::createSubscriber([
    'email' => 'john.doe@example.com',
    'name' => 'John Doe',
    'status' => 'enabled',
]);
```

### Example: Manage Lists

[](#example-manage-lists)

Get all lists:

```
$lists = Listmonk::getLists();
```

### Create a new list

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

```
$newList = Listmonk::createList([
    'name' => 'Weekly Newsletter',
    'description' => 'Updates and news every week.',
]);
```

Facade
------

[](#facade)

You can use the `Listmonk` facade to interact with the Listmonk API:

```
use Theafolayan\ListmonkLaravel\Facades\Listmonk;

$subscribers = Listmonk::getSubscribers();
$list = Listmonk::createList(['name' => 'New List']);
```

Dependency Injection
--------------------

[](#dependency-injection)

Alternatively, you can inject the Listmonk class into your services:

```
use Theafolayan\ListmonkLaravel\Listmonk;

class YourService
{
    protected $listmonk;

    public function __construct(Listmonk $listmonk)
    {
        $this->listmonk = $listmonk;
    }

    public function getSubscribers()
    {
        return $this->listmonk->getSubscribers();
    }
}
```

Methods
-------

[](#methods)

- `getSubscribers(array $filters = [])`
- `createSubscriber(array $data)`
- `getLists()`
- `createList(array $data)`

Contributing
------------

[](#contributing)

Contributions are welcome! To contribute:

- Fork the repository.
- Create a feature branch.
- Submit a pull request.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/license/mit).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance49

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.5% 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 ~10 days

Total

4

Last Release

463d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44205918?v=4)[Oluwaseun Raphael Afolayan](/maintainers/theafolayan)[@theafolayan](https://github.com/theafolayan)

---

Top Contributors

[![theafolayan](https://avatars.githubusercontent.com/u/44205918?v=4)](https://github.com/theafolayan "theafolayan (17 commits)")[![Flexusma](https://avatars.githubusercontent.com/u/38422530?v=4)](https://github.com/Flexusma "Flexusma (1 commits)")[![rjsamra](https://avatars.githubusercontent.com/u/31566509?v=4)](https://github.com/rjsamra "rjsamra (1 commits)")

---

Tags

laravellistmonklistmonk-api

### Embed Badge

![Health badge](/badges/theafolayan-listmonk-laravel/health.svg)

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

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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