PHPackages                             digimantra/digi-email - 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. digimantra/digi-email

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

digimantra/digi-email
=====================

A laravel package to send email.

v1.0.2(1y ago)013MITPHP

Since Sep 20Pushed 1y agoCompare

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

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Laravel Custom Email Sender
===========================

[](#laravel-custom-email-sender)

[![Packagist Version](https://camo.githubusercontent.com/b918d7a1fd9f80fcad9d2ed2e6d11b70f25320ab08c6ebf567f34f550cd95300/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646967696d616e7472612f646967692d656d61696c)](https://camo.githubusercontent.com/b918d7a1fd9f80fcad9d2ed2e6d11b70f25320ab08c6ebf567f34f550cd95300/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646967696d616e7472612f646967692d656d61696c)[![Packagist Downloads](https://camo.githubusercontent.com/cfc5650c2407b66edfea03c40ecc8d35e82531fcfa28b1bc14b77cd986a0c1fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646967696d616e7472612f646967692d656d61696c)](https://camo.githubusercontent.com/cfc5650c2407b66edfea03c40ecc8d35e82531fcfa28b1bc14b77cd986a0c1fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646967696d616e7472612f646967692d656d61696c)[![GitHub License](https://camo.githubusercontent.com/5c6b9d67043dbf677ab33316aef767711bf735156157d21902ce9adef15dee86/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646967696d616e7472612f646967692d656d61696c3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/5c6b9d67043dbf677ab33316aef767711bf735156157d21902ce9adef15dee86/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646967696d616e7472612f646967692d656d61696c3f7374796c653d666c61742d737175617265)

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Queueing Emails](#Queueing-Emails)
- [Composer Requirements](#Composer-Requirements)
- [License](#license)
- [Support](#support)

Requirements
------------

[](#requirements)

- Laravel 8, 9, or 10
- PHP 8.0 or higher
- Google API Client (installed automatically via composer)
- Firebase account with Cloud Messaging API enabled

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

[](#installation)

**Install via Composer**

```
composer require digimantra/digi-email

```

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

[](#configuration)

### Update SMTP Settings

[](#update-smtp-settings)

Modify your `.env` file to include your SMTP credentials:

```
MAIL_MAILER=smtp
MAIL_HOST=smtp.yourservice.com
MAIL_PORT=587
MAIL_USERNAME=your_email@domain.com
MAIL_PASSWORD=your_password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=your_email@domain.com
```

**Important:** Clear the configuration cache with:

```
php artisan config:clear
```

### Configure the Queue

[](#configure-the-queue)

Make sure you have set up your queue configuration in `config/queue.php` and have a queue driver configured (like database, Redis, etc.). If you're using the database driver, run the migration to create the jobs table:

```
php artisan queue:table
php artisan migrate
```

Usage
-----

[](#usage)

Invoke the package’s email-sending function and provide the `$data` array as follows:

```
$data = [
    'to' => 'user@email.com',
    'html' => true,
    'content' => 'Hi, test email',
    'view' => '',
    'attachment' => false,
];
EmailHelper::sendEmail($data);
```

The package will handle the rest.

Queueing Emails
---------------

[](#queueing-emails)

To process queued jobs, execute the following command in your terminal:

```
php artisan queue:work

```

Composer Requirements
---------------------

[](#composer-requirements)

The package relies on `phpmailer/phpmailer` for SMTP handling and is compatible with Laravel versions 8.x, 9.x, and 10.x.

License
-------

[](#license)

This package is released under the MIT License. Refer to the LICENSE file for details.

Support
-------

[](#support)

```
For support or more details you can reach out at it@digimantra.com.

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

Total

3

Last Release

600d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0915329748e0b3b6062e1a0110cd94552cd90313a133a087510813a6734fb92?d=identicon)[hs-dml](/maintainers/hs-dml)

---

Top Contributors

[![Kushagra-DML](https://avatars.githubusercontent.com/u/176994927?v=4)](https://github.com/Kushagra-DML "Kushagra-DML (31 commits)")

### Embed Badge

![Health badge](/badges/digimantra-digi-email/health.svg)

```
[![Health](https://phpackages.com/badges/digimantra-digi-email/health.svg)](https://phpackages.com/packages/digimantra-digi-email)
```

###  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)
