I don't think it would work, although have you tried escaping the backslash? Just a guess but don't count on it.
php artisan app:name Organization\\AppName
Why not keep it simple:
php artisan app:name Organization-AppName ??
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I'm trying to use app:name with a custom psr-4 namespace for example:
php artisan app:name Organization\AppName
Is possible use the app:name with custom namespaced apps? Is not possible is there any other way to make it possible?
Thanks
I don't think it would work, although have you tried escaping the backslash? Just a guess but don't count on it.
php artisan app:name Organization\\AppName
Why not keep it simple:
php artisan app:name Organization-AppName ??
Please or to participate in this conversation.