File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
<p align =" center " >
2
2
<img src =" https://github.com/stackkit/laravel-database-emails/workflows/Run%20tests/badge.svg?branch=master " alt =" Build Status " >
3
3
<a href =" https://packagist.org/packages/stackkit/laravel-database-emails " ><img src =" https://poser.pugx.org/stackkit/laravel-database-emails/v/stable.svg " alt =" Latest Stable Version " ></a >
4
- <a href =" https://packagist.org/packages/stackkit/laravel-database-emails " ><img src =" https://poser.pugx.org/stackkit/laravel-database-emails/license .svg " alt =" License " ></a >
4
+ <a href =" https://packagist.org/packages/stackkit/laravel-database-emails " ><img src =" https://poser.pugx.org/stackkit/laravel-database-emails/downloads .svg " alt =" License " ></a >
5
5
</p >
6
6
7
7
# Introduction
@@ -133,6 +133,8 @@ However, you will have to use this package's `Attachment` class.
133
133
134
134
135
135
``` php
136
+ use Stackkit\LaravelDatabaseEmails\Attachment;
137
+
136
138
Email::compose()
137
139
->attachments([
138
140
Attachment::fromPath(__DIR__.'/files/pdf-sample.pdf'),
You can’t perform that action at this time.
0 commit comments