Subscription Cycles and Plan Usage are Reports to display how much the user has consumed from his features, for example: how many SMS were sent, how many products were created, and so on.
and you can use the Plan usage for other actions that are not related to a specific model. for example how many SMS messages are sent.
- To record a new usage:
UsageManager::recordAUsage($model, $usageDetails, $product = null, $plan = null, $user = null)
- To check if a limit reached or not:
UsageManager::isModelUsageReachedLimit(Service::class)