Configuration

Required Settings

config/config.php
<?php

return [
  'bnomei.klub.license.key' => fn() => env('KLUB_LICENSE_KEY'),
  'bnomei.klub.stripe.secret' => fn() => env('STRIPE_SECRET_KEY'),
  // other options
];

Optional Settings

bnomei.klub. Default Description
caching 15|false create caches, expire in minutes or false
captcha.current callback
captcha.get callback
captcha.set callback
crypto.encrypt false allow encryption
crypto.password callback|string
gates.field gates
license.key callback|string
members.create true automatically create users
members.roles ['member'] possible roles with first one being default
progress.field progress
ratelimit.enabled true protects public facing endpoints
ratelimit.limit 12*60 avg. 12 requests per minute within 1 hour
stripe.checkout callback($options)|array additional options to send to Stripe for checkout session creation
stripe.metadata callback($data)|array create additional values for Stripe to store as metadata, $data is current HTML Form data
stripe.secret callback|string
turnstile.sitekey callback|string
turnstile.secretkey callback|string
Kirby Klub is not affiliated with the developers of Kirby CMS. We are merely standing on the shoulder of giants.
© 2025 Bruno Meilick All rights reserved.