PHPackages                             starring-jane/wordplate-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. starring-jane/wordplate-mail

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

starring-jane/wordplate-mail
============================

Adds mail settings to your environment configuration

1.0.4(3y ago)03.8k↓33.3%MITPHPPHP &gt;=7.2

Since Apr 6Pushed 3y ago4 watchersCompare

[ Source](https://github.com/starringjane/wordplate-mail)[ Packagist](https://packagist.org/packages/starring-jane/wordplate-mail)[ RSS](/packages/starring-jane-wordplate-mail/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

[![Starring Jane](logo.png)](logo.png)

Wordplate Mail
==============

[](#wordplate-mail)

Adds mail settings to your environment configuration

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

[](#installation)

```
composer require starring-jane/wordplate-mail
```

Create a WordplateMail instance in `functions.php`

```
use StarringJane\WordplateMail\WordplateMail;

WordplateMail::register();
```

Usage
-----

[](#usage)

Add your smtp settings to your .env file

```
MAIL_DRIVER=smtp
MAIL_HOST=localhost
MAIL_PORT=465
MAIL_USERNAME=user
MAIL_PASSWORD=pass
MAIL_ENCRYPTION=tls
MAIL_FROM_NAME="Sender Name"
MAIL_FROM_ADDRESS="no-reply@domain.com"
```

You can also send trough the local mail driver

```
MAIL_DRIVER=mail
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_NAME="Sender Name"
MAIL_FROM_ADDRESS="no-reply@domain.com"
```

Override variables in code
--------------------------

[](#override-variables-in-code)

Sometimes you might want to set variables dynamicaly

```
use StarringJane\WordplateMail\WordplateMail;

WordplateMail::register()
    ->set('MAIL_FROM_NAME', 'Starring Jane')
    ->set('MAIL_FROM_ADDRESS', function () {
        $domain = str_replace('www.', '', $_SERVER['SERVER_NAME']);
        return 'no-reply@' . $domain;
    });
```

Contributors
------------

[](#contributors)

- Maxim Vanhove () [![Twitter Follow](https://camo.githubusercontent.com/accf94ec63fd9e0847f9c3478f44ac596a9ced1bca90a66c3a555275b2d2ea9a/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f4d724d6178696d56616e686f76652e7376673f7374796c653d736f6369616c266c6f676f3d74776974746572266c6162656c3d466f6c6c6f77)](https://twitter.com/MrMaximVanhove)

Credits
-------

[](#credits)

Special thanks to the contributors of [wordplate](https://github.com/wordplate/wordplate) for allowing us to create Wordpress websites in a modern development environment

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

Total

5

Last Release

1100d ago

PHP version history (2 changes)1.0.0PHP ^7.2

1.0.1PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24898080?v=4)[Starring Jane](/maintainers/starringjane)[@starringjane](https://github.com/starringjane)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/starring-jane-wordplate-mail/health.svg)

```
[![Health](https://phpackages.com/badges/starring-jane-wordplate-mail/health.svg)](https://phpackages.com/packages/starring-jane-wordplate-mail)
```

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