Laravel 5.4^ – How to customize notification email layout?

Run this command

php artisan vendor:publish --tag=laravel-notifications
php artisan vendor:publish --tag=laravel-mail

update for laravel 5.7+

php artisan vendor:publish

and then you will get:

  [<number>] Tag: laravel-mail
  [<number>] Tag: laravel-notifications

and then just type in that number in front to publish the file for editing


and then in

/resources/views/vendor/mail/html/

you can edit all the components and customize anything you want.
For example i have edited the sentence “All rights reserved”. to “All test reserved” at the bottom of that image inside this file:

/resources/views/vendor/mail/html/message.blade.php

and this is what i got:

enter image description here

Leave a Comment