diff --git a/src/Console/InstallsApiStack.php b/src/Console/InstallsApiStack.php index 4284e064e..862337253 100644 --- a/src/Console/InstallsApiStack.php +++ b/src/Console/InstallsApiStack.php @@ -17,10 +17,10 @@ protected function installApiStack() // Controllers... $files->ensureDirectoryExists(app_path('Http/Controllers/Auth')); - $files->copyDirectory(__DIR__.'/../../stubs/api/App/Http/Controllers/Auth', app_path('Http/Controllers/Auth')); + $files->copyDirectory(__DIR__.'/../../stubs/api/app/Http/Controllers/Auth', app_path('Http/Controllers/Auth')); // Middleware... - $files->copyDirectory(__DIR__.'/../../stubs/api/App/Http/Middleware', app_path('Http/Middleware')); + $files->copyDirectory(__DIR__.'/../../stubs/api/app/Http/Middleware', app_path('Http/Middleware')); $this->replaceInFile('// \Laravel\Sanctum\Http', '\Laravel\Sanctum\Http', app_path('Http/Kernel.php')); @@ -32,10 +32,10 @@ protected function installApiStack() // Requests... $files->ensureDirectoryExists(app_path('Http/Requests/Auth')); - $files->copyDirectory(__DIR__.'/../../stubs/api/App/Http/Requests/Auth', app_path('Http/Requests/Auth')); + $files->copyDirectory(__DIR__.'/../../stubs/api/app/Http/Requests/Auth', app_path('Http/Requests/Auth')); // Providers... - $files->copyDirectory(__DIR__.'/../../stubs/api/App/Providers', app_path('Providers')); + $files->copyDirectory(__DIR__.'/../../stubs/api/app/Providers', app_path('Providers')); $this->replaceInFile("HOME = '/home'", "HOME = '/dashboard'", app_path('Providers/RouteServiceProvider.php')); // Routes... diff --git a/src/Console/InstallsBladeStack.php b/src/Console/InstallsBladeStack.php index 30ba7ccff..8937bedd2 100644 --- a/src/Console/InstallsBladeStack.php +++ b/src/Console/InstallsBladeStack.php @@ -26,11 +26,11 @@ protected function installBladeStack() // Controllers... (new Filesystem)->ensureDirectoryExists(app_path('Http/Controllers/Auth')); - (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/App/Http/Controllers/Auth', app_path('Http/Controllers/Auth')); + (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/Http/Controllers/Auth', app_path('Http/Controllers/Auth')); // Requests... (new Filesystem)->ensureDirectoryExists(app_path('Http/Requests/Auth')); - (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/App/Http/Requests/Auth', app_path('Http/Requests/Auth')); + (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/Http/Requests/Auth', app_path('Http/Requests/Auth')); // Views... (new Filesystem)->ensureDirectoryExists(resource_path('views/auth')); @@ -45,7 +45,7 @@ protected function installBladeStack() // Components... (new Filesystem)->ensureDirectoryExists(app_path('View/Components')); - (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/App/View/Components', app_path('View/Components')); + (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/View/Components', app_path('View/Components')); // Tests... $this->installTests(); diff --git a/src/Console/InstallsInertiaStacks.php b/src/Console/InstallsInertiaStacks.php index 752b9102d..2076c1c75 100644 --- a/src/Console/InstallsInertiaStacks.php +++ b/src/Console/InstallsInertiaStacks.php @@ -38,7 +38,7 @@ protected function installInertiaVueStack() // Requests... (new Filesystem)->ensureDirectoryExists(app_path('Http/Requests/Auth')); - (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/App/Http/Requests/Auth', app_path('Http/Requests/Auth')); + (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/Http/Requests/Auth', app_path('Http/Requests/Auth')); // Middleware... $this->installMiddlewareAfter('SubstituteBindings::class', '\App\Http\Middleware\HandleInertiaRequests::class'); @@ -149,7 +149,7 @@ protected function installInertiaReactStack() // Requests... (new Filesystem)->ensureDirectoryExists(app_path('Http/Requests/Auth')); - (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/App/Http/Requests/Auth', app_path('Http/Requests/Auth')); + (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/Http/Requests/Auth', app_path('Http/Requests/Auth')); // Middleware... $this->installMiddlewareAfter('SubstituteBindings::class', '\App\Http\Middleware\HandleInertiaRequests::class'); diff --git a/stubs/api/App/Http/Controllers/Auth/AuthenticatedSessionController.php b/stubs/api/app/Http/Controllers/Auth/AuthenticatedSessionController.php similarity index 100% rename from stubs/api/App/Http/Controllers/Auth/AuthenticatedSessionController.php rename to stubs/api/app/Http/Controllers/Auth/AuthenticatedSessionController.php diff --git a/stubs/api/App/Http/Controllers/Auth/EmailVerificationNotificationController.php b/stubs/api/app/Http/Controllers/Auth/EmailVerificationNotificationController.php similarity index 100% rename from stubs/api/App/Http/Controllers/Auth/EmailVerificationNotificationController.php rename to stubs/api/app/Http/Controllers/Auth/EmailVerificationNotificationController.php diff --git a/stubs/api/App/Http/Controllers/Auth/NewPasswordController.php b/stubs/api/app/Http/Controllers/Auth/NewPasswordController.php similarity index 100% rename from stubs/api/App/Http/Controllers/Auth/NewPasswordController.php rename to stubs/api/app/Http/Controllers/Auth/NewPasswordController.php diff --git a/stubs/api/App/Http/Controllers/Auth/PasswordResetLinkController.php b/stubs/api/app/Http/Controllers/Auth/PasswordResetLinkController.php similarity index 100% rename from stubs/api/App/Http/Controllers/Auth/PasswordResetLinkController.php rename to stubs/api/app/Http/Controllers/Auth/PasswordResetLinkController.php diff --git a/stubs/api/App/Http/Controllers/Auth/RegisteredUserController.php b/stubs/api/app/Http/Controllers/Auth/RegisteredUserController.php similarity index 100% rename from stubs/api/App/Http/Controllers/Auth/RegisteredUserController.php rename to stubs/api/app/Http/Controllers/Auth/RegisteredUserController.php diff --git a/stubs/api/App/Http/Controllers/Auth/VerifyEmailController.php b/stubs/api/app/Http/Controllers/Auth/VerifyEmailController.php similarity index 100% rename from stubs/api/App/Http/Controllers/Auth/VerifyEmailController.php rename to stubs/api/app/Http/Controllers/Auth/VerifyEmailController.php diff --git a/stubs/api/App/Http/Middleware/EnsureEmailIsVerified.php b/stubs/api/app/Http/Middleware/EnsureEmailIsVerified.php similarity index 100% rename from stubs/api/App/Http/Middleware/EnsureEmailIsVerified.php rename to stubs/api/app/Http/Middleware/EnsureEmailIsVerified.php diff --git a/stubs/api/App/Http/Requests/Auth/LoginRequest.php b/stubs/api/app/Http/Requests/Auth/LoginRequest.php similarity index 100% rename from stubs/api/App/Http/Requests/Auth/LoginRequest.php rename to stubs/api/app/Http/Requests/Auth/LoginRequest.php diff --git a/stubs/api/App/Providers/AuthServiceProvider.php b/stubs/api/app/Providers/AuthServiceProvider.php similarity index 100% rename from stubs/api/App/Providers/AuthServiceProvider.php rename to stubs/api/app/Providers/AuthServiceProvider.php diff --git a/stubs/default/App/Http/Controllers/Auth/AuthenticatedSessionController.php b/stubs/default/app/Http/Controllers/Auth/AuthenticatedSessionController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/AuthenticatedSessionController.php rename to stubs/default/app/Http/Controllers/Auth/AuthenticatedSessionController.php diff --git a/stubs/default/App/Http/Controllers/Auth/ConfirmablePasswordController.php b/stubs/default/app/Http/Controllers/Auth/ConfirmablePasswordController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/ConfirmablePasswordController.php rename to stubs/default/app/Http/Controllers/Auth/ConfirmablePasswordController.php diff --git a/stubs/default/App/Http/Controllers/Auth/EmailVerificationNotificationController.php b/stubs/default/app/Http/Controllers/Auth/EmailVerificationNotificationController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/EmailVerificationNotificationController.php rename to stubs/default/app/Http/Controllers/Auth/EmailVerificationNotificationController.php diff --git a/stubs/default/App/Http/Controllers/Auth/EmailVerificationPromptController.php b/stubs/default/app/Http/Controllers/Auth/EmailVerificationPromptController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/EmailVerificationPromptController.php rename to stubs/default/app/Http/Controllers/Auth/EmailVerificationPromptController.php diff --git a/stubs/default/App/Http/Controllers/Auth/NewPasswordController.php b/stubs/default/app/Http/Controllers/Auth/NewPasswordController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/NewPasswordController.php rename to stubs/default/app/Http/Controllers/Auth/NewPasswordController.php diff --git a/stubs/default/App/Http/Controllers/Auth/PasswordResetLinkController.php b/stubs/default/app/Http/Controllers/Auth/PasswordResetLinkController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/PasswordResetLinkController.php rename to stubs/default/app/Http/Controllers/Auth/PasswordResetLinkController.php diff --git a/stubs/default/App/Http/Controllers/Auth/RegisteredUserController.php b/stubs/default/app/Http/Controllers/Auth/RegisteredUserController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/RegisteredUserController.php rename to stubs/default/app/Http/Controllers/Auth/RegisteredUserController.php diff --git a/stubs/default/App/Http/Controllers/Auth/VerifyEmailController.php b/stubs/default/app/Http/Controllers/Auth/VerifyEmailController.php similarity index 100% rename from stubs/default/App/Http/Controllers/Auth/VerifyEmailController.php rename to stubs/default/app/Http/Controllers/Auth/VerifyEmailController.php diff --git a/stubs/default/App/Http/Requests/Auth/LoginRequest.php b/stubs/default/app/Http/Requests/Auth/LoginRequest.php similarity index 100% rename from stubs/default/App/Http/Requests/Auth/LoginRequest.php rename to stubs/default/app/Http/Requests/Auth/LoginRequest.php diff --git a/stubs/default/App/View/Components/AppLayout.php b/stubs/default/app/View/Components/AppLayout.php similarity index 100% rename from stubs/default/App/View/Components/AppLayout.php rename to stubs/default/app/View/Components/AppLayout.php diff --git a/stubs/default/App/View/Components/GuestLayout.php b/stubs/default/app/View/Components/GuestLayout.php similarity index 100% rename from stubs/default/App/View/Components/GuestLayout.php rename to stubs/default/app/View/Components/GuestLayout.php