Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

suryaprythvi's avatar

Model files and DB interaction in Spark

Hello Everyone,

I have been using Laravel for quite few months. I switched to Spark for my new project and got few questions. Please help me in this as I couldn't find proper solution when I googled it.

  1. Where are the Model files in Spark ? (I used to have my Model files in app/Model in Laravel)
  2. I could not find logic where the DB connection and select or other mySql queries happens? Please help me find those.
  3. How to completely disable the Subscription/Billing related elements from front-end. As I dont have to charge my Users
  4. Do we have full documentation which covers all Spark concepts. I checked the basic videos of spark but I am searching for detailed documentation.

Thanks in advance, Surya

0 likes
2 replies
suryaprythvi's avatar

Hi RonB1985,

I have checked those given docs but that didn't help me clear my doubts. Could you please specify where should I exactly check if in case I didn't go through those docs properly.

Thanks, Surya

Please or to participate in this conversation.