Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natthasath/demo-laravel-breeze-mailable
Laravel Mailable is a class for building reusable email templates. It separates email logic (data) from presentation (Blade views), allowing for clean and maintainable email notifications. You can use Markdown or HTML for email content and leverage Laravel features like attachments and queueing.
https://github.com/natthasath/demo-laravel-breeze-mailable
10x breeze laravel mailable php
Last synced: 2 days ago
JSON representation
Laravel Mailable is a class for building reusable email templates. It separates email logic (data) from presentation (Blade views), allowing for clean and maintainable email notifications. You can use Markdown or HTML for email content and leverage Laravel features like attachments and queueing.
- Host: GitHub
- URL: https://github.com/natthasath/demo-laravel-breeze-mailable
- Owner: natthasath
- Created: 2024-04-21T02:51:51.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T03:26:39.000Z (8 months ago)
- Last Synced: 2024-11-11T06:15:09.414Z (2 months ago)
- Topics: 10x, breeze, laravel, mailable, php
- Language: PHP
- Homepage: https://laravel.com/docs/master/mail
- Size: 118 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎉 DEMO Laravel Breeze Mailable
Laravel Mailable is a class for building reusable email templates. It separates email logic (data) from presentation (Blade views), allowing for clean and maintainable email notifications. You can use Markdown or HTML for email content and leverage Laravel features like attachments and queueing.
![version](https://img.shields.io/badge/version-1.0-blue)
![rating](https://img.shields.io/badge/rating-★★★★★-yellow)
![uptime](https://img.shields.io/badge/uptime-100%25-brightgreen)### 🚀 Setup
- Create Project
```shell
composer create-project laravel/laravel example-app
```- Install Package
```shell
composer require laravel/breeze --dev
```- Configure Environment
```shell
cp .env.example .env
```- Migrate
```
php artisan breeze:install
php artisan migrate
npm install
npm run dev
```- Generate Mailable
```
php artisan make:mail WelcomeEmail --markdown=emails.welcome
php artisan make:controller SendmailController
```- Configure Email
```
MAIL_MAILER=smtp
MAIL_HOST=smtp.example.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME="${APP_NAME}"
```- Custom Component
```
php artisan vendor:publish --tag=laravel-mail
```### 🏆 Run
- [http://localhost:8000/](http://localhost:8000/) username : `admin` password : `admin`
```shell
php artisan serve
```