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

egon43's avatar

I want to charge the owner of the team by total number of all users (Laravel Spark)

User can create teams and add new users to the teams. I want to charge the owner of the team (team owner may have multiple teams) by total number of all users (Example: Team owner has 2 teams. There is 5 users in Team A and 2 users in Team B. I want to charge the team owner (5 + 2) * 2 = 14 €). How i can do it?

0 likes
1 reply

Please or to participate in this conversation.