Monday, January 3, 2022

[FIXED] Cannot change the laravel app name

Issue

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.

enter image description 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?


Solution

You should remove spaces and & from the app name. Name app is basically a namespace.



Answered By - Alexey Mezenin

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.