Environment Flags

EvoLayer Base uses environment variables to safely toggle demo surfaces and features without modifying code.

Example Surfaces

These flags control the visibility and routing of bundled React examples.

FlagDescription
EVOLAYER_BASE_EXAMPLE_MARKETING_PAGESPublic /about explainer alias. The authenticated /home launcher is host-owned by the starter (always on) since 0.1.9 / starter 0.1.18.
EVOLAYER_BASE_EXAMPLE_THREAD_STUDIOThreadStudio — streaming AI compose with structured output.
EVOLAYER_BASE_EXAMPLE_PRD_STUDIOPRD Studio — turn notes into scoped requirements.
EVOLAYER_BASE_EXAMPLE_ADMIN_INBOXAdmin inbox for contact-form submissions.
EVOLAYER_BASE_EXAMPLE_CONTACT_AIAI-assisted contact form (triage, auto-tagging).
EVOLAYER_BASE_EXAMPLE_VOICE_INPUTVoice-input block.
EVOLAYER_BASE_EXAMPLE_AI_TEXT_FIELD<AiTextField> block — inline streaming suggestions.

Substrate Features

These flags toggle backend processing features.

FlagDescription
EVOLAYER_BASE_FEATURE_CONTACT_ATTACHMENTSEnables media library attachment processing for the contact form.

Site SEO & Asset Keys

Starter 0.1.17 added opt-in SITE_* keys, read through config/site.php. All ship blank, so rendered output is unchanged until you set them. Setting SITE_JSONLD_TYPE (one or more schema.org types, comma-separated) emits a server-rendered local-business node in the JSON-LD graph with the contact fields below; the site logo and social image are folded in automatically.

KeyDescription
SITE_JSONLD_TYPEschema.org type(s) for the business node, e.g. "LocalBusiness" or "GeneralContractor,HomeAndConstructionBusiness". Blank = no business node.
SITE_JSONLD_TELEPHONEtelephone, e.g. +441234567890.
SITE_JSONLD_EMAILemail contact for the business node.
SITE_JSONLD_AREA_SERVEDareaServed as a plain string.
SITE_JSONLD_PRICE_RANGEpriceRange, e.g. ££.
SITE_JSONLD_SAME_ASComma-separated profile URLs emitted as sameAs (also enriches the Organization node when no business type is set).
SITE_ASSET_VERSIONGlobal ?v= cache-busting token for public asset paths wrapped with useVersionedAsset().

SITE_ASSET_VERSION pairs with the useVersionedAsset() hook: wrap public asset paths to append a global ?v= cache-buster, so replacing an image in place is picked up past a CDN. Bump it on deploys that replace files. The OG image keeps its own token, SOCIAL_IMAGE_VERSION. For richer structured data (opening hours, geo), pass a full graph to <SiteHead jsonLd={…} /> instead — the config path deliberately stays simple.

Was this page helpful?

Source: xuple/evodevops/resources/js/pages/docs/evolayer-base/reference/env-flags.tsx