I had similar problem with instaling spark on forge what i did was ssh into server then run composer install and put credentials for spark because otherwise forge didnt have access to pull spark repo
Laravel Spark Deployment Issues
Hi All,
I'm trying to install Laravel Spark to an application and it seems like I'm missing something. Everything works locally but Forge will not deploy it in production. This is the error I am getting.
Class "Spark\Spark" not found
at app/Providers/SparkServiceProvider.php:21 17▕ * @return void 18▕ */ 19▕ public function boot() 20▕ { ➜ 21▕ Spark::billable(User::class)->resolve(function (Request $request) { 22▕ return $request->user(); 23▕ }); 24▕ 25▕ Spark::billable(User::class)->authorize(function (User $billable, Request $request) {
[2m+7 vendor frames [22m
8 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation{closure}()
[2m+5 vendor frames [22m
14 artisan:37 Illuminate\Foundation\Console\Kernel::handle()\
Any thoughts or comments would be appreciated. Thanks!
Please or to participate in this conversation.