Tuesday, November 15, 2022

[FIXED] How can I change the application name(space) in Laravel 6

Issue

In previous versions you could use the artisan command

php artisan app:name NewName

to use change the applications namespace (defaults to App). The artisan command seems to be missing now. Is changing the namespace no longer supported?


Solution

Unfortunatelly, the command has been officially removed from Laravel version 6 (see pull request: https://github.com/laravel/framework/pull/27575).

https://github.com/laravel/framework/issues/29810



Answered By - Simon
Answer Checked By - Mary Flores (PHPFixing Volunteer)

No comments:

Post a Comment

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