Search code examples
laravelconfigurationbranding

How to remove LARAVEL from branding and use own branding in Laravel 5


In Laravel 5, how could I remove "Laravel" from the forget password email template, and to use my own branding?

Please kindly advise to achieve this.

enter image description here


Solution

  • If you want to change only the branding then you can set it in .env file

    APP_NAME=your_app_name
    

    But if you want to change more stuff, for example the header or footer then you need to do this:

    Run these commands

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

    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 in

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

    and this is what i got:

    enter image description here