Awn Awn
Back to Awn
Documentation menu — Configuration and cache
Reference / Configuration and cache
Version
1.0
Last verified
2026-08-09

Configuration and cache

  • themes.default ← DEFAULT_THEME, default najda.
  • themes.cache_ttl ← THEME_CACHE_TTL, default 60 minutes.
  • plugins.platform_version ← AWN_PLATFORM_VERSION, default 1.0.0.
  • plugins.cache_ttl ← PLUGIN_CACHE_TTL, default 60 minutes.
  • tenancy.central_domain ← CENTRAL_DOMAIN.
  • tenancy.local_path_enabled ← TENANT_LOCAL_PATH_ENABLED, default true.
  • tenancy.preview_link_ttl ← TENANT_PREVIEW_TTL, default 30 minutes.
  • donors.default_country_calling_code ← DONOR_DEFAULT_CALLING_CODE, default 249.
  • donors.verification.provider ← PHONE_VERIFICATION_PROVIDER; the default log provider is non-production only.
  • OTP length, expiry, maximum attempts, and resend cooldown use the corresponding PHONE_VERIFICATION_* variables.

Exact keys:

themes:v2:organization:{organization-id}
plugins:v2:organization:{organization-id}

Theme cache stores ['key' => string, 'settings' => array]. Plugin cache stores a list of ['key' => string, 'settings' => array] after installed/active/enabled/allowlisted/compatible filtering.

Theme activation clears theme and plugin keys. Plugin configure clears its tenant plugin key. Global lifecycle clears keys for tenants assigned that plugin. Version payload shape changes and clear old cache during deployment.

php artisan config:clear
php artisan cache:clear
php artisan awn:extensions:validate

Catalog synchronization copies source manifests into global tables; rows do not drive discovery. Never cache models, views, drivers, manifests, or custom objects.