Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Flex's avatar
Level 4

Unable to Change Laravel 7 title name

I am using Laravel 7 and make Auth command also here. but now I need change my app name of the each page title from Laravel to cms. then I change app.blade.php file app name as cms. but not successful here. how could I change these

0 likes
6 replies
Maria30's avatar
Maria30
Best Answer
Level 21

@flex in your .env file the first line:

APP_NAME=Cms

if the name contains any space:

APP_NAME="Cms something"

Then where ever you want the app name

{{ config('app.name', 'Cms') }}

and run php artisan config:clear from your terminal

2 likes
sheriffderek's avatar

I was trying find how to remove the – Laravel from my title (v11) and the string for title is set in the .env but if you're using Inertia the title is set in the app and ssr files in resources->js where the createApp happens. (in case anyone else also finds themselves here :)

1 like

Please or to participate in this conversation.