File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11<p align =" center " >
22<img src =" https://github.com/stackkit/laravel-database-emails/workflows/Run%20tests/badge.svg?branch=master " alt =" Build Status " >
33<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 >
55</p >
66
77# Introduction
@@ -133,6 +133,8 @@ However, you will have to use this package's `Attachment` class.
133133
134134
135135``` php
136+ use Stackkit\LaravelDatabaseEmails\Attachment;
137+
136138Email::compose()
137139 ->attachments([
138140 Attachment::fromPath(__DIR__.'/files/pdf-sample.pdf'),
You can’t perform that action at this time.
0 commit comments