Skip to content

Commit

Permalink
Updated to mailbook 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Xammie committed Dec 6, 2024
1 parent caa5729 commit 7013e98
Show file tree
Hide file tree
Showing 10 changed files with 355 additions and 356 deletions.
4 changes: 3 additions & 1 deletion app/Mail/Orders/OrderCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ public function build(): self
->bcc('[email protected]', 'CEO')
->with('products', [
[
'image' => '/images/mug.webp',
'name' => __('Laravel mug'),
'quantity' => 10,
'price' => '$ 100',
],
[
'name' => __('Laravel shirt'),
'image' => '/images/cap.webp',
'name' => __('Laravel snapback'),
'quantity' => 2,
'price' => '$ 50',
],
Expand Down
4 changes: 3 additions & 1 deletion app/Mail/Orders/OrderShipped.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ public function build(): self
->attachData('Your order has been shipped!', 'order-1234.pdf')
->with('products', [
[
'image' => '/images/mug.webp',
'name' => __('Laravel mug'),
'quantity' => 10,
'price' => '$ 100',
],
[
'name' => __('Laravel shirt'),
'image' => '/images/cap.webp',
'name' => __('Laravel snapback'),
'quantity' => 2,
'price' => '$ 50',
],
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@
"require": {
"php": "^8.3",
"guzzlehttp/guzzle": "^7.9.2",
"laravel/framework": "^11.33.2",
"laravel/framework": "^11.34.2",
"laravel/tinker": "^2.10.0",
"sentry/sentry-laravel": "^4.10.0",
"sentry/sentry-laravel": "^4.10.1",
"spatie/laravel-markdown": "^2.6.0",
"spatie/shiki-php": "^2.2.2",
"xammie/mailbook": "^1.8.2"
"xammie/mailbook": "^1.8.3"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.14.7",
"barryvdh/laravel-debugbar": "^3.14.9",
"barryvdh/laravel-ide-helper": "^3.2.2",
"fakerphp/faker": "^1.24.0",
"larastan/larastan": "^2.9.11",
"laravel/pint": "^1.18.2",
"laravel/sail": "^1.38.0",
"fakerphp/faker": "^1.24.1",
"larastan/larastan": "^2.9.12",
"laravel/pint": "^1.18.3",
"laravel/sail": "^1.39.1",
"mockery/mockery": "^1.6.12",
"nunomaduro/collision": "^8.5.0",
"pestphp/pest": "^2.36.0",
"pestphp/pest-plugin-laravel": "^2.4",
"rector/rector": "^1.2.10",
"spatie/laravel-ignition": "^2.8.0",
"spatie/laravel-ignition": "^2.9.0",
"tomasvotruba/bladestan": "^0.5.0"
},
"autoload": {
Expand Down
Loading

0 comments on commit 7013e98

Please sign in to comment.