diff --git a/src/Installer/Drivers/Driver.php b/src/Installer/Drivers/Driver.php index 49fe4be..a06bb17 100644 --- a/src/Installer/Drivers/Driver.php +++ b/src/Installer/Drivers/Driver.php @@ -53,6 +53,7 @@ public function install(string $composerBinary = 'global', InstallOptions ...$op ->ensureDirectoriesExist(array_merge(static::directoriesToCreateForStack(), [ app_path('Actions/Socialstream'), app_path('Policies'), + app_path('Providers'), ])) ->installServiceProviders() ->installRoutes() @@ -135,6 +136,8 @@ protected function ensureDirectoriesExist(array $directories): static */ protected function installServiceProviders(): static { + copy(__DIR__.'/../../../stubs/app/Providers/SocialstreamServiceProvider.php', app_path('Providers/SocialstreamServiceProvider.php')); + ServiceProvider::addProviderToBootstrapFile('App\Providers\SocialstreamServiceProvider'); return $this;