简体   繁体   English

Laravel Spark:“我的所有团队”计费

[英]Laravel Spark: “All My Teams” Billing

As I understand it, Laravel Spark has two billing modes. 据我了解,Laravel Spark有两种计费模式。

The first is individual billing. 首先是个人账单。 In individual billing, each user account is responsible for signing up for and paying for its own service. 在个人账单中,每个用户账户负责注册和支付自己的服务。

The second is team billing. 第二是团队计费。 In team billing, you can sign up all the users on an individual team for plan. 在团队结算中,您可以在单个团队中注册所有用户以进行计划。

If either of the above are incorrect assumptions, please let me know. 如果以上任何一种都是不正确的假设,请告诉我。

What I need/want to do might be called "All My Teams" or "Team of Teams" billing. 我需要/想要做的事情可能被称为“我的所有团队”或“团队团队”。 I need an administrative user to be able to create multiple teams with different users, and have all those users managed (for billing purposes) under a single subscription. 我需要管理用户能够创建具有不同用户的多个团队,并且在单个订阅下管理所有这些用户(用于计费)。

Is this possible with Laravel Spark? 这可能与Laravel Spark有关吗?

If not, is there known science for how to do this? 如果没有,是否有知名科学如何做到这一点? Get as detailed as you'd like, but I'm just looking for the broad strokes here, and trying to to duplicate work if it already exists. 得到你想要的详细信息,但我只是在这里寻找广泛的笔画,并试图重复工作,如果它已经存在。

Alan, In laracast the offer the following solution for you question: Alan,在laracast中为您提供以下解决方案的问题:

Yes it does and you can limit it in 3 ways from the owning account perspective: 是的,它可以从拥有帐户的角度以3种方式限制它:

  ->maxCollaborators($max) ->maxTeams($max) ->maxTeamMembers($max) Users can create as many teams as they want (unless you limit it as mentioned above) and they can also join 

other people's teams if they are invited. 其他人的团队,如果他们被邀请。

hope it helps! 希望能帮助到你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM