PHPackages                             aiqedge/smtp-notifications-channel - 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. aiqedge/smtp-notifications-channel

ActiveLaravel-package[Mail &amp; Notifications](/categories/mail)

aiqedge/smtp-notifications-channel
==================================

Laravel Notification Channel for the AIQEDGE-SMTP service.

03PHP

Since Jul 27Pushed 9mo agoCompare

[ Source](https://github.com/paullaster/aiqedge-smtp-channel)[ Packagist](https://packagist.org/packages/aiqedge/smtp-notifications-channel)[ RSS](/packages/aiqedge-smtp-notifications-channel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

AIQEDGE SMTP Channel
====================

[](#aiqedge-smtp-channel)

A Laravel notification channel for sending emails via the AIQEDGE SMTP API. This package lets you deliver notifications using AIQEDGE's SMTP service, making it easy to integrate external email delivery into your Laravel applications.

Features
--------

[](#features)

- Send notifications through AIQEDGE SMTP API
- Simple integration with Laravel's notification system
- Error logging for failed requests

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

[](#installation)

Install the package via Composer:

```
composer require aiqedge/smtp-notifications-channel
```

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

[](#configuration)

Add your AIQEDGE SMTP credentials to your `.env` file:

```
AIQEDGE_SMTP_KEY=your-api-key-here
AIQEDGE_SMTP_URL=https://api.aiqedge.com/smtp
```

Then, add the following to your `config/services.php`:

```
'aiqedge_smtp' => [
    'key' => env('AIQEDGE_SMTP_KEY'),
    'url' => env('AIQEDGE_SMTP_URL'),
],
```

Usage
-----

[](#usage)

### 1. Add the Channel to Your Notification

[](#1-add-the-channel-to-your-notification)

In your notification class, add the `via()` method to specify the channel:

```
public function via($notifiable)
{
    return [AiqedgeSmtpChannel::class];
}
```

### 2. Define the `toAiqedgeSmtp()` Method

[](#2-define-the-toaiqedgesmtp-method)

Add a `toAiqedgeSmtp()` method to your notification class. This should return an array with the email details:

```
public function toAiqedgeSmtp($notifiable)
{
    return [
        'to' => $notifiable->email,
        'subject' => 'Your Subject',
        'body' => 'Your message body',
        // Add other fields as required by AIQEDGE SMTP API
    ];
}
```

### 3. Send the Notification

[](#3-send-the-notification)

Use Laravel's notification system as usual:

```
$user->notify(new YourNotification());
```

### Request Body Reference

[](#request-body-reference)

To see the possible request body and required fields, visit this Postman collection:

[AIQEDGE SMTP Send Email Request Example (Postman)](https://www.postman.com/paullaster-haurweengs/aiqedge-smtp/request/q7isdaa/send-email?tab=body&ctx=code)

Example
-------

[](#example)

```
use Aiqedge\SmtpNotificationsChannel\AiqedgeSmtpChannel;
use Illuminate\Notifications\Notification;

class InvoicePaid extends Notification
{
    public function via($notifiable)
    {
        return [AiqedgeSmtpChannel::class];
    }

    public function toAiqedgeSmtp($notifiable)
    {
        return [
            'to' => $notifiable->email,
            'subject' => 'Invoice Paid',
            'body' => 'Your invoice has been paid.',
        ];
    }
}
```

Error Handling
--------------

[](#error-handling)

If the API request fails, the error will be logged using Laravel's logging system. Check your logs for details.

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance40

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

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://www.gravatar.com/avatar/c5a7f12ae1ea6078c3de5e04a0ba326fb65cecab39484591b7062af4ac615e5b?d=identicon)[brainspore](/maintainers/brainspore)

---

Top Contributors

[![paullaster](https://avatars.githubusercontent.com/u/43445963?v=4)](https://github.com/paullaster "paullaster (1 commits)")

### Embed Badge

![Health badge](/badges/aiqedge-smtp-notifications-channel/health.svg)

```
[![Health](https://phpackages.com/badges/aiqedge-smtp-notifications-channel/health.svg)](https://phpackages.com/packages/aiqedge-smtp-notifications-channel)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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