PHPackages                             toyosi12/laravel-plunk - 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. toyosi12/laravel-plunk

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

toyosi12/laravel-plunk
======================

Plunk is the afforable, developer-friendly email platform that brings together marketing, transactional and broadbase emails into one single, complete solution

4111[1 issues](https://github.com/toyosi12/laravel-plunk/issues)PHP

Since Jun 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/toyosi12/laravel-plunk)[ Packagist](https://packagist.org/packages/toyosi12/laravel-plunk)[ RSS](/packages/toyosi12-laravel-plunk/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-plunk
=============

[](#laravel-plunk)

[![Issues](https://camo.githubusercontent.com/f6d430a204f1241062fd612328e66fafc83059c5d18ef84b0879949a5601a362/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f746f796f736931322f6c61726176656c2d706c756e6b)](https://github.com/toyosi12/laravel-plunk/issues)[![Forks](https://camo.githubusercontent.com/d9ae2c238773ec3dff07f51931f681ab8f69db79e56f9d0e3cc4f5bf0262021f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f746f796f736931322f6c61726176656c2d706c756e6b)](https://github.com/toyosi12/laravel-plunk/network/members)[![Stars](https://camo.githubusercontent.com/864d5b3b3e5f8f99151f584b0c318d8161b855d7b12b8e2252585883ab8e0344/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f746f796f736931322f6c61726176656c2d706c756e6b)](https://github.com/toyosi12/laravel-plunk/stargazers)

> A laravel package to easily integrate plunk

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

[](#installation)

[PHP](https://php.net) 7.2+ and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel Plunk, simply require it

```
composer require toyosi12/laravel-plunk
```

Once installed, the package automatically registers its service provider and facade.

Usage
-----

[](#usage)

#### 1. Update your environment file with your secret key as described below.

[](#1-update-your-environment-file-with-your-secret-key-as-described-below)

```
PLUNK_SECRET_KEY=""
```

Login to your Plunk dashboard to obtain your secret key.

#### 2. Make a call to the method you need.

[](#2-make-a-call-to-the-method-you-need)

```
use Toyosi12\Plunk\Facades\Plunk;
Plunk::countContacts();
```

References
----------

[](#references)

### Events

[](#events)

- triggerEvent() Used to publish an event

**Parameters**

- event: The name of the event to publish
- email: The email address of the user to publish the event to
- data \[Optional\]: An object containing the data to attach to the user

Sample request:

```
use Toyosi12\Plunk\Facades\Plunk;
$request = {
    "event": "test-project",
    "email": "toyosi@nomail.com"
}
Plunk::triggerEvent($request);
```

### Emails

[](#emails)

- sendTransactionalEmail() Used to send transactional email

**Parameters**

- to: The email address of the recipient
- subject: The subject of the email
- body: The body of the email
- type \[Optional\]: The type of email to send (html or markdown)
- from \[Optional\]: The email address of the sender
- name \[Optional\]: The name of the sender
- withUnsubscribe \[Optional\]: Whether to include an unsubscribe link hosted by Plunk in the email

Sample request:

```
use Toyosi12\Plunk\Facades\Plunk;
$request = {
    "to": "toyosi@nomail.com",
    "subject": "Test Plunk",
    "body": "Testing plunk"
}
Plunk::sendTransactionalEmail($request);
```

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

[](#contributing)

Do feel free to fork this repo and contribute by submitting a pull request. Let's make it better.

Star
----

[](#star)

I'd love you to star this repo. Also [follow me on twitter](https://twitter.com/dev_toyosi)

License
-------

[](#license)

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5153088?v=4)[toyosi](/maintainers/toyosi)[@toyosi](https://github.com/toyosi)

---

Top Contributors

[![toyosi12](https://avatars.githubusercontent.com/u/26188489?v=4)](https://github.com/toyosi12 "toyosi12 (5 commits)")

---

Tags

emaillaravelplunk

### Embed Badge

![Health badge](/badges/toyosi12-laravel-plunk/health.svg)

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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