https://github.com/dammy001/laravel-email
A collection of high-quality, unstyled components for creating beautiful emails using Laravel
https://github.com/dammy001/laravel-email
Last synced: 10 months ago
JSON representation
A collection of high-quality, unstyled components for creating beautiful emails using Laravel
- Host: GitHub
- URL: https://github.com/dammy001/laravel-email
- Owner: dammy001
- License: mit
- Created: 2023-11-18T06:51:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T17:09:09.000Z (10 months ago)
- Last Synced: 2025-03-12T18:24:07.088Z (10 months ago)
- Language: PHP
- Size: 84 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Laravel Email
The next generation of writing emails.
High-quality, unstyled components for creating emails.
## Introduction
A collection of high-quality, unstyled components for creating beautiful emails using Laravel.
It reduces the pain of coding responsive emails with dark mode support. It also takes care of inconsistencies between Gmail, Outlook, and other email clients for you.
## Why
We believe that email is an extremely important medium for people to communicate. However, we need to stop developing emails like 2010, and rethink how email can be done in 2022 and beyond. Email development needs a revamp. A renovation. Modernized for the way we build web apps today.
## Install
```bash
composer require damilaredev/laravel-email
```
## Getting started
Add the component to your email template. Include styles where needed.
```html
Laravel Email
```
## Components
A set of standard components to help you build amazing emails without having to deal with the mess of creating table-based layouts and maintaining archaic markup.
### HTML
```html
Click Me
```
### Head
```html
email title
```
### Heading
```html
Lorem Ipsum
```
### Link
```html
Example
```
### Image
```html
# Props
| Name | Type | Default | Description |
| ------ | ------ | ------- | ---------------------------------- |
| alt | string | | Alternate description for an image |
| src | string | | The path to the image |
| width | string | | The width of an image in pixels |
| height | string | | The height of an image in pixels |
```
### Divider
```html
```
### Paragraph
```html
Lorem Ipsum
```
### Container
```html
Click here
```
### Body
```html
{{-- First column --}}
{{-- Second column --}}
```
### Row
```html
A
B
C
```
### Section
```html
{{-- A Simple Section --}}
Lorem Ipsum
{{-- Formatted with `rows` and `columns` --}}
Column 1, Row 1
Column 2, Row 1
Column 1, Row 2
Column 2, Row 2
```
### Font
```html
```
## Support
All components were tested using the most popular email clients.
|
|
|
|
|
|
|
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
## Development
#### Install dependencies
```sh
// PHP >= 8.1 is required
composer install
```
#### Tests
```sh
composer ci
```
## Credits
- React Email ([React Email](https://github.com/resendlabs/react-email))
- Bu Kinoshita ([@bukinoshita](https://twitter.com/bukinoshita))
- Zeno Rocha ([@zenorocha](https://twitter.com/zenorocha))
## License
MIT License