Yes, It is completely safe. There are no side effects. Just remember, if you have space in the app name, just put them in quotes.
And If it doesn't get updated, run php artisan config:clear
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to change the app name in the .env file
Either manually editing APP_NAME or using the artisan command php artisan app:name.
Edit: I just noticed there is no more app:name command for the newer Laravel versions.
Are there any side effects it might cause? Or it's safe to do it?
Yes, It is completely safe. There are no side effects. Just remember, if you have space in the app name, just put them in quotes.
And If it doesn't get updated, run php artisan config:clear
Please or to participate in this conversation.