Laravel Spark "Class "App\Models\User::class\" not found"
Today's discussion is on Laravel Spark
I was researching initially adding some feedback on my site to create subscriptions, although I was having a hard time figuring out how to add custom models in Laravel Spark
"Class "App\Models\User::class\" not found"
My editor wasn't helpful to figure this out. I decided to start googling and yet, no relevant information was posted. So here is a quick solution to it. You would add "App\Models\User" without ":: class" in your env file. Just like the example below. I was confused initially, then decided to go without the class inside my .env file and it worked.
Hope you guys enjoy this quick solution. Have a nice weekend!