Data stored in the CMS
Klub stores provider data on the user and uses caches to reduce provider API calls. Use this page if you need to document storage for compliance.
Provider data field
Each provider stores a YAML blob on the user in the field defined by bnomei.klub.providers.{provider}.field (default: provider key). The data typically includes:
customerIdpayments(one-time price IDs)- Provider-specific metadata
The data can be encrypted using bnomei.klub.crypto.encrypt.
Gates and progress fields
- Manual gates are stored on the user field defined by
ProviderGates::$field(default:gates). - Progress entries are stored on the user field defined by
UserFieldProgress::$field(default:progress).
Caches
Klub uses internal caches for provider calls and derived data:
bnomei.klub.gatesfor resolved gates per userbnomei.klub.actionsfor subscription actionsbnomei.klub.ratelimitfor rate limiting
Cache duration is controlled by bnomei.klub.caching (minutes).
You can clear all Klub caches with:
klub()->flush();