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

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

shaz3e/email-templates
======================

A demo package

v1.1.0(1y ago)146MITBlade

Since Oct 27Pushed 1y ago1 watchersCompare

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

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

Email Templates
===============

[](#email-templates)

[![Packagist Version](https://camo.githubusercontent.com/2cc479a5b9f242a4101f1cca0a14da439b6e42301d7a53b946d27c1dc4992d77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368617a33652f656d61696c2d74656d706c61746573)](https://camo.githubusercontent.com/2cc479a5b9f242a4101f1cca0a14da439b6e42301d7a53b946d27c1dc4992d77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368617a33652f656d61696c2d74656d706c61746573)[![Packagist Downloads](https://camo.githubusercontent.com/871d5cc6b8719f57976d4cbb2cdc39c603c13d9a29959f21117456e21e6515f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368617a33652f656d61696c2d74656d706c61746573)](https://camo.githubusercontent.com/871d5cc6b8719f57976d4cbb2cdc39c603c13d9a29959f21117456e21e6515f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368617a33652f656d61696c2d74656d706c61746573)[![License](https://camo.githubusercontent.com/eace30a862d79805b08dbfb582f6bd359297b62f82d0218a3d3fa674100307cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7368617a33652f656d61696c2d74656d706c61746573)](https://camo.githubusercontent.com/eace30a862d79805b08dbfb582f6bd359297b62f82d0218a3d3fa674100307cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7368617a33652f656d61696c2d74656d706c61746573)[![Laravel Version](https://camo.githubusercontent.com/a2aa8057015ed4acb8076028fca7d04ac03a74bf45831b5be295ddbbbc2918ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d31312e782d626c7565)](https://camo.githubusercontent.com/a2aa8057015ed4acb8076028fca7d04ac03a74bf45831b5be295ddbbbc2918ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d31312e782d626c7565)

Email templates are pre-designed email messages that can be customized to fit your needs. They can be used to send automated emails, such as welcome emails, abandoned cart reminders, and order confirmations all emails will written in html and queueable mean there is no need to create additional jobs or mailable everytime for all your email and best thing is you can write your own email from dashboard and use template placeholders like `{{ name }}` in your email but you need to register placeholders in the specific email.

Before proceeding the installation steps please read the complete documention to take only the step which is necessary for your application. We suggest only publish config file as this may be necessary to manage prefix, routes and middleware and only publish views when you need to modify it. It built with livewire grid view which poll data only visible mode.

**Note**This package is built for [S3 Dashboard](https://github.com/Shaz3e/S3-Dashboard) and require extra efforts to use with any laravel application.

Install via composer

```
composer require shaz3e/email-templates
```

Publish migration only

```
php artisan vendor:publish --tag=email-templates-migration
```

Migrate database and permissions

```
php artisan migrate
```

```
php artisan storage:link
```

Create template from dashboard visit `http://s3-dashboard.test/manage/email-templates/create`

#### Create Template from Console

[](#create-template-from-console)

```
php artisan email-templates:create
```

- Provide Unique Template Key
- Provide Template Name
- Provide Email Subject

#### Or create all together

[](#or-create-all-together)

```
php artisan email-templates:create "key" "name" "subject"
```

replace key, name, subject according to your requirements

To send email use the following function in your application or preview/view the template and use the code at the end of show route

```
use Shaz3e\EmailTemplates\Services\EmailService;

$emailService = new EmailService();
$emailService->sendEmailByKey('{template_key}', $user->email, [
    'name' => $user->name,
    'email' => $user->email,
]);
```

#### Publisables

[](#publisables)

Publish config only

```
php artisan vendor:publish --tag=email-templates-config
```

Publish views only

```
php artisan vendor:publish --tag=email-templates-view
```

Publish language files only

```
php artisan vendor:publish --tag=email-templates-lang
```

#### Contributing

[](#contributing)

- If you have any suggestions please let me know : .
- Please help me improve code

#### License

[](#license)

Email Templates with [S3 Dashboard](https://github.com/Shaz3e/S3-Dashboard) is licensed under the MIT license. Enjoy!

Credit
------

[](#credit)

- [Shaz3e](https://www.shaz3e.com) | [YouTube](https://www.youtube.com/@shaz3e) | [Facebook](https://www.facebook.com/shaz3e) | [Twitter](https://twitter.com/shaz3e) | [Instagram](https://www.instagram.com/shaz3e) | [LinkedIn](https://www.linkedin.com/in/shaz3e/)
- [Diligent Creators](https://www.diligentcreators.com) | [Facebook](https://www.facebook.com/diligentcreators) | [Instagram](https://www.instagram.com/diligentcreators/) | [Twitter](https://twitter.com/diligentcreator) | [LinkedIn](https://www.linkedin.com/company/diligentcreators/) | [Pinterest](https://www.pinterest.com/DiligentCreators/) | [YouTube](https://www.youtube.com/@diligentcreator) [TikTok](https://www.tiktok.com/@diligentcreators) | [Google Map](https://g.page/diligentcreators)

[![GitHub commit activity](https://camo.githubusercontent.com/7155f2ea09f9b088e8365f9706c1cf142802dd2ab7795bbe293c3ecc6d51458b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f7368617a33652f656d61696c2d74656d706c61746573)](https://camo.githubusercontent.com/7155f2ea09f9b088e8365f9706c1cf142802dd2ab7795bbe293c3ecc6d51458b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f7368617a33652f656d61696c2d74656d706c61746573)

[![GitHub Stats](https://camo.githubusercontent.com/05482de9f8e40c51f86e62d55d59f31ba783f4b74fde2c098cd939ee5883b692/68747470733a2f2f6769746875622d726561646d652d73746174732e76657263656c2e6170702f6170693f757365726e616d653d7368617a33652673686f775f69636f6e733d7472756526636f756e745f707269766174653d74727565267468656d653d64656661756c74)](https://camo.githubusercontent.com/05482de9f8e40c51f86e62d55d59f31ba783f4b74fde2c098cd939ee5883b692/68747470733a2f2f6769746875622d726561646d652d73746174732e76657263656c2e6170702f6170693f757365726e616d653d7368617a33652673686f775f69636f6e733d7472756526636f756e745f707269766174653d74727565267468656d653d64656661756c74)

[![GitHub Contributions Graph](https://camo.githubusercontent.com/dbec3e4e00ac03cf0dd2afe933b114440be496d2caa0dbfff35a05af6e184286/68747470733a2f2f6769746875622d70726f66696c652d73756d6d6172792d63617264732e76657263656c2e6170702f6170692f63617264732f70726f66696c652d64657461696c733f757365726e616d653d7368617a3365267468656d653d64656661756c74)](https://camo.githubusercontent.com/dbec3e4e00ac03cf0dd2afe933b114440be496d2caa0dbfff35a05af6e184286/68747470733a2f2f6769746875622d70726f66696c652d73756d6d6172792d63617264732e76657263656c2e6170702f6170692f63617264732f70726f66696c652d64657461696c733f757365726e616d653d7368617a3365267468656d653d64656661756c74)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Total

6

Last Release

520d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55fa895f3ba767604ea0fc6cc1a6f7fc69e9fb73de02886a770fd75ab886fbbc?d=identicon)[Shaz3e](/maintainers/Shaz3e)

---

Top Contributors

[![Shaz3e](https://avatars.githubusercontent.com/u/526602?v=4)](https://github.com/Shaz3e "Shaz3e (21 commits)")

### Embed Badge

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

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

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