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?
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?
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
Unfortunatelly, the command has been officially removed from Laravel version 6 (see pull request: https://github.com/laravel/framework/pull/27575).
You should now use this package to do the job using:
composer require dragon-code/laravel-app --dev