I'm using php artisan app:name L&K Biomedics
to set the name of the app. But I get an error saying,
'L' is not recognized as an internal or external command,
operable program or batch file.
I'm new to Laravel. What I'm doing wrong here.
And is there a way to undo this command? I mean, if it changed the name to L& how can I change back it?
You can have spaces in app name. You can achieve this by using single quotes in your .env file, set:
APP_NAME='Company Name'
Restart your application by running command:
php artisan serve
Refresh your application in the browser.
It works fine, however i don't know if the space in the app name will be affecting any specific functionality of the app.
You should remove spaces and &
from the app name. Name app is basically a namespace.
You need to study the naming standard a name can't include &
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With