PHPackages                             hpsweb/laravel-email-templates - 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. hpsweb/laravel-email-templates

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

hpsweb/laravel-email-templates
==============================

Laravel Email Templates (Blade)

v1.1.0(2y ago)051GPL-3.0Blade

Since May 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/OoHerbethoO/laravel-email-templates)[ Packagist](https://packagist.org/packages/hpsweb/laravel-email-templates)[ Docs](https://github.com/OoHerbethoO/laravel-email-templates)[ RSS](/packages/hpsweb-laravel-email-templates/feed)WikiDiscussions main Synced 1mo ago

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

laravel-mails
=============

[](#laravel-mails)

Laravel (Blade) Email Templates For membership and ecommerce sites.

Fully integrated with Laravel: Mailer, Language, Config and uses the blade template format for Laravel. Set content options from language system or config settings.

Easy to add to your current application, no need for complicated integration steps. Three Simple Integration Steps

### [Original Project](https://github.com/simplepleb/laravel-email-templates) (simplepleb/laravel-email-templates)

[](#original-project-simplepleblaravel-email-templates)

Premium Version Available At XSCode
-----------------------------------

[](#premium-version-available-at-xscode)

[![Foo](https://camo.githubusercontent.com/3ecdeec02df25313edab38bf5a85c70bbf9cbf016cba318a475b8499fe6e95b4/68747470733a2f2f7873636f64652e636f6d2f6173736574732f70726f6d6f2d62616e6e65722e737667)](https://xscode.com/simplepleb/laravel-email-templates)

(click the banner above for premium version)

Screenshots
-----------

[](#screenshots)

- [Welcome Email](#welcomeEmail)
- [Verification Email](#verifyEmail)
- [Forgot Password](#forgotPass)
- [Thanks For Payment](#thanksPayment)

To Do
-----

[](#to-do)

- Welcome Message Template
- Verify Email Template
- Forgot Password Template
- Order Placed Template
- Order Shipped Template
- Invoice Template
- Payment Thank You Template
- Feedback Request Template
- Reminder Template

How to Install
--------------

[](#how-to-install)

Install this library on your application

```
composer require --dev hpsweb/laravel-email-templates
```

Automatically copy files and folders to the same structure within you Laravel application.

```
php artisan vendor:publish --provider=Pleb\\EmailTemplatesServiceProvider
```

If you'd like to copy only parts of the files, you can use tags.

```
php artisan vendor:publish --tag=pleb-email-templates-config    // to copy config files
php artisan vendor:publish --tag=pleb-email-templates-views     // to copy views files
php artisan vendor:publish --tag=pleb-email-templates-lang      // to copy lang files
php artisan vendor:publish --tag=pleb-email-templates-img       // to copy img files
php artisan vendor:publish --tag=pleb-email-templates-app       // to copy app files
```

### Manually

[](#manually)

Alternatively, you can copy the files yourself to your Laravel application.

```
    /config/pleb.php
    /resources/views/email/*
    /resources/lang/en/pleb.php
    /public/assets/img/email/*
    /app/Mail/*
```

How to Use
----------

[](#how-to-use)

- Edit the values in `config/pleb.php` and `/resources/lang/en/pleb.php`

    **Note:** You only change the right-side values not the left-side variables
- Make sure your `/config/mail.php` file has been updated to set the global from address etc.

```
    'from' => [
        'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
        'name' => env('MAIL_FROM_NAME', 'Example'),
    ],
```

Sending Welcome Message
-----------------------

[](#sending-welcome-message)

From your controller simply call the mailable as you normally would. You can also send some optional variables as an array.

```
    use App\User;
    use App\Mail\WelcomeMember;

    $options = array(
        'unsubscribe_url'   => 'http://mysite.com/unsub',
        'play_url'          => 'http://google-play.com/myapp',
        'ios_url'           => 'http://apple-store.com/myapp',
        'sendfriend_url'    => 'http://mysite.com/send_friend',
        'webview_url'       => 'http://mysite.com/webview_url',
    );

    $user = User:find(1);
    Mail::to($user)->send(new WelcomeMember($user, $options));
```

Previewing these emails
-----------------------

[](#previewing-these-emails)

If you would like to preview the emails before using them, copy the contents of the `/routes/web.php` to your version. Remember to remove these routes before launching your application.

Then open these URLS to view the template

- `/your.com/pleb/welcome_member`
- `/your.com/pleb/verify_email`
- `/your.com/pleb/forgot_password`
- `/your.com/pleb/thanks_payment`

Example route from `routes/web.php`

```
    Route::get('pleb/welcome_member', function () {

        $member = App\User::find(1);
        return new App\Mail\WelcomeMember($member);
    });
```

Screen Shots
------------

[](#screen-shots)

### Welcome Email

[](#welcome-email)

Full Size

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Welcome-Message.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Welcome-Message.png)

Mobile View

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Welcome-Message-mobile.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Welcome-Message-mobile.png)

### Verification Email

[](#verification-email)

Full Size

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Verify-Your-Email.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Verify-Your-Email.png)

Mobile View

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Verify-Your-Email-mobile.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Verify-Your-Email-mobile.png)

### Forgot Password Email

[](#forgot-password-email)

Full Size

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Forgot-Password.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Forgot-Password.png)

Mobile View

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Forgot-Password-mobile.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Forgot-Password-mobile.png)

### Thanks For Payment Email

[](#thanks-for-payment-email)

Full Size

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Thanks-for-your-payment.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Thanks-for-your-payment.png)

Mobile View

[![](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Thanks-for-your-payment-mobile.png)](https://github.com/simplepleb/laravel-email-templates/raw/main/pleb-Thanks-for-your-payment-mobile.png)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.8% 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

Unknown

Total

1

Last Release

734d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c80df3bd2e71d125a2f8b08a62f3272b36afc1ff891fb2bfd79ba31751715e77?d=identicon)[hpsweb](/maintainers/hpsweb)

---

Top Contributors

[![simplepleb](https://avatars.githubusercontent.com/u/79759974?v=4)](https://github.com/simplepleb "simplepleb (17 commits)")[![OoHerbethoO](https://avatars.githubusercontent.com/u/16544588?v=4)](https://github.com/OoHerbethoO "OoHerbethoO (4 commits)")[![WesleyGoncalves](https://avatars.githubusercontent.com/u/29783839?v=4)](https://github.com/WesleyGoncalves "WesleyGoncalves (3 commits)")

---

Tags

phplaravelemailtemplates

### Embed Badge

![Health badge](/badges/hpsweb-laravel-email-templates/health.svg)

```
[![Health](https://phpackages.com/badges/hpsweb-laravel-email-templates/health.svg)](https://phpackages.com/packages/hpsweb-laravel-email-templates)
```

###  Alternatives

[railsware/mailtrap-php

The Mailtrap SDK provides methods for all API functions.

56770.5k](/packages/railsware-mailtrap-php)[ferdous/laravel-otp-validate

Laravel package for OTP validation with built-in features like retry and resend mechanism. Built in max retry and max resend blocking. OTP/Security Code can be send over SMS or Email of your choice with user-defined template.

7124.4k](/packages/ferdous-laravel-otp-validate)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

14109.2k](/packages/hafael-azure-mailer-driver)[martian/spammailchecker

A laravel package that protect users from entering non-existing/spam email addresses.

422.0k](/packages/martian-spammailchecker)[juanparati/brevosuite

Complete Brevo integration with Laravel

1010.8k](/packages/juanparati-brevosuite)[misma/laravel-mailpeek

MailPeek provides a simple local inbox right in your browser to enable you preview emails being sent from your application.

222.1k](/packages/misma-laravel-mailpeek)

PHPackages © 2026

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