PHPackages                             arthedain/handle-mail - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. arthedain/handle-mail

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arthedain/handle-mail
=====================

A Laravel Nova tool.

0.1.6(5y ago)2196[1 issues](https://github.com/arthedain/handle_mail/issues)MITVuePHP &gt;=7.1.0

Since Jul 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/arthedain/handle_mail)[ Packagist](https://packagist.org/packages/arthedain/handle-mail)[ RSS](/packages/arthedain-handle-mail/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (10)DependenciesVersions (12)Used By (0)

Laravel Nova Handle-Mail
========================

[](#laravel-nova-handle-mail)

Laravel Nova Tool for managing sending mails from the site through the queue

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

[](#installation)

```
composer require arthedain/handle-mail

```

Register tool in NovaServiceProvider

```
public function tools()
{
     new HandleMail
}

```

After registering publish default files

```
php artisan vendor:publish --provider="Arthedain\HandleMail\ToolServiceProvider" --tag="default"

```

> Or you can publish files by tag:
>
> - job
> - mail
> - view
> - script
> - config
> - migration

Then run the commands:

```
php artisan queue:table
php artisan queue:failed-table

php artisan migrate

```

---

#### Required

[](#required)

Update .env:

```
QUEUE_CONNECTION=database

```

Usage
-----

[](#usage)

Enter emails in `config/handle-mail.php` to send mail from the site

```
'email' => [
    //
],

```

> You can skip this step and not use js file for async request in your project

Include published `handle-mail.js` file in your project files, or create your own file to send a request. Add your custom form class to `handle-mail.js` file, or use default class `form`.

```

...

```

Route for request `/handle-mail/send`. Route name `handle-mail.send`

If you need to execute code before sending mail, you can change the path and call the method:

```
namespace Arthedain\HandleMail\Http\Controllers\User;

class HandleMailController
{
    /**
     * @param Request $request
     * @param string $subject
     * @param null $callback
     * @return \Illuminate\Http\Response
     */
    public function post(Request $request, string $subject = 'Request', $callback = null)

```

Command for schedule:

```
$schedule->command('queue:work --stop-when-empty --queue=handle-mail')->everyFiveMinutes()

```

---

### View

[](#view)

After publish default files you can change mail template in `resource/views/vendor/handle-mail/mail.blade.php`

---

### Tool localization

[](#tool-localization)

Add this lines to your nova localization file:

```
"Name": "Name",
"Email": "Email",
"Status": "Status",
"status": "status",
"created_at": "created_at",
"Handle Mail": "Handle Mail",
"Failed": "Failed",
"New today": "New today",
"Per month": "Per month",
"The list is empty": "The list is empty",
"Mails": "Mails",
"Email deleted successfully": "Email deleted successfully",
"Error": "Error",
"Mail": "Mail",
"Failed mails": "Failed mails",
"Failed mail": "Failed mail"
"Resend all emails": "Resend all emails",
"Request": "Request",
"failed_at":"failed_at",
"exception":"exception",
"Send mail":"Send mail",
"Mail sent successfully": "Mail sent successfully",
"Delete email":"Delete email"

```

You can add more localization lines, they automatic update your keys in mail templates and in tool pages

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Total

10

Last Release

2124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48dd344f8c93a3e368a26c9624cef480e9327f29d0b6bd36a44f9b038ded07a6?d=identicon)[arthedain](/maintainers/arthedain)

---

Top Contributors

[![arthedain](https://avatars.githubusercontent.com/u/26961867?v=4)](https://github.com/arthedain "arthedain (16 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/arthedain-handle-mail/health.svg)

```
[![Health](https://phpackages.com/badges/arthedain-handle-mail/health.svg)](https://phpackages.com/packages/arthedain-handle-mail)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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