6

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?

kaan_a
  • 3,503
  • 1
  • 28
  • 52

3 Answers3

5

The app:name command was removed in Laravel 6, in this commit.

You can install this package to do the job

composer require andrey-helldar/laravel-app
fonini
  • 3,243
  • 5
  • 30
  • 53
5

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

Simon
  • 179
  • 1
  • 11
0

You should now use this package to do the job using:

composer require dragon-code/laravel-app --dev
Protopia
  • 1
  • 1