File tree 4 files changed +25
-19
lines changed
4 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
fail-fast : true
10
10
matrix :
11
- php : [ 7.1, 7.4 ]
12
- laravel : [ 5.5.*, 6.* ]
13
- exclude :
14
- - laravel : 6.*
15
- php : 7.1
11
+ php : [ 7.3, 8.0 ]
12
+ laravel : [ 7.*, 8.* ]
16
13
include :
17
- - laravel : 5.5 .*
18
- testbench : 3. 5.*
19
- - laravel : 6 .*
20
- testbench : 4 .*
14
+ - laravel : 7 .*
15
+ testbench : 5.*
16
+ - laravel : 8 .*
17
+ testbench : 6 .*
21
18
22
19
name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
23
20
Original file line number Diff line number Diff line change @@ -13,8 +13,16 @@ This can be useful when wanting to store emails sent for archive purposes.
13
13
14
14
You can install the package via composer:
15
15
16
+ For Laravel 5.x and 6.x
17
+
18
+ ``` bash
19
+ composer require pod-point/laravel-mail-export:^0.1
20
+ ```
21
+
22
+ For Laravel 7.x and 8.x
23
+
16
24
``` bash
17
- composer require pod-point/laravel-mail-export
25
+ composer require pod-point/laravel-mail-export:^0.2
18
26
```
19
27
20
28
### Publishing the config file
Original file line number Diff line number Diff line change 11
11
}
12
12
],
13
13
"require" : {
14
- "php" : " ^7.1|^7.2|^7.3|^7.4 " ,
15
- "nesbot/carbon" : " ^1.0|^ 2.0" ,
16
- "illuminate/support" : " ~5.4|~5.5|~5.6|~5.7|~5.8|^6 .0" ,
17
- "illuminate/mail" : " ~5.4|~5.5|~5.6|~5.7|~5.8|^6 .0" ,
18
- "illuminate/filesystem" : " ~5.4|~5.5|~5.6|~5.7|~5.8|^6 .0"
14
+ "php" : " ^7.2.5|^8.0 " ,
15
+ "nesbot/carbon" : " ^2.0" ,
16
+ "illuminate/support" : " ~7.0|^8 .0" ,
17
+ "illuminate/mail" : " ~7.0|^8 .0" ,
18
+ "illuminate/filesystem" : " ~7.0|^8 .0"
19
19
},
20
20
"require-dev" : {
21
- "orchestra/testbench" : " ^3.4.0|^3.5.0|^3.6.0|^3.7.0|^3.8.0|^4.0" ,
22
- "phpunit/phpunit" : " ~5.7|~6.0|^7.0|^7.5|^8.0|^9.0"
21
+ "orchestra/testbench" : " ^5.0|^6.0"
23
22
},
24
23
"autoload" : {
25
24
"psr-4" : {
32
31
}
33
32
},
34
33
"extra" : {
34
+ "branch-alias" : {
35
+ "dev-master" : " 0.2-dev"
36
+ },
35
37
"laravel" : {
36
38
"providers" : [
37
39
" PodPoint\\ MailExport\\ MailExportServiceProvider"
Original file line number Diff line number Diff line change 2
2
3
3
namespace PodPoint \MailExport \Concerns ;
4
4
5
- use Illuminate \Contracts \Mail \Mailer as MailerContract ;
6
5
use Illuminate \Mail \Mailable ;
7
6
use PodPoint \MailExport \Contracts \ShouldExport ;
8
7
use PodPoint \MailExport \StorageOptions ;
@@ -15,7 +14,7 @@ trait Exportable
15
14
/**
16
15
* @inheritDoc
17
16
*/
18
- public function send (MailerContract $ mailer )
17
+ public function send ($ mailer )
19
18
{
20
19
$ this ->withSwiftMessage (function ($ message ) {
21
20
if (! $ this instanceof ShouldExport) {
You can’t perform that action at this time.
0 commit comments