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

3KyNoX's avatar

Spark: Individual & Team billing together

Hello there!

Is it possible to have both individual and team billing together. I don't really understand why we can't do both or why I don't find any documentation about that.

We should be able to have the ability to bill individuals or teams, not only one of them.

Thanks anyway!

0 likes
3 replies
steve_laracasts's avatar

It's in the FAQ in the Spark Docs:

Does Spark support user and team subscriptions at the same time?

Yes, you can have both user and team plans at the same time

https://spark.laravel.com/docs/7.0/faq

I admit that I haven't found out exactly how to do this yet and it is not exactly forthcoming :)

At least we know it is possibly hey!

steve_laracasts's avatar

No worries, feels strange, in a good way, to be helping someone so soon on my journey ;)

I just read the docs and it looks like the user and team billing is really easy, you literally just declare the plans you want in the booted method of app/Providers/SparkServiceProvider

e.g.

Spark::plan('Pro', 'monthly-pro')
        ->price(20)
        ->features([
            'Feature 1',
            'Feature 2',
            'Feature 3',
        ]);

Spark::teamPlan('Basic', 'team-basic')
    ->price(10)
    ->features([
        'First', 'Second', 'Third'
    ]);
    

I do think the docs are confusing though, because it says:

"If your application offers team plans instead of individual user plans, you should generate your application using the --team-billing switch. This will generate a SparkServiceProvider stub that defines team plans instead of individual plans:"

'instead of' being the confusing bit as this implies that by enabling team billing you are disabling user billing.

edit: I just re-read this couple of times and I think it means the stubs generated will be team oriented - that's all!!

We will just have to try it I guess, I won't get to this for a little while though :)

1 like

Please or to participate in this conversation.