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.
| Flag | Description |
|---|---|
EVOLAYER_BASE_EXAMPLE_MARKETING_PAGES | Public /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_STUDIO | ThreadStudio — streaming AI compose with structured output. |
EVOLAYER_BASE_EXAMPLE_PRD_STUDIO | PRD Studio — turn notes into scoped requirements. |
EVOLAYER_BASE_EXAMPLE_ADMIN_INBOX | Admin inbox for contact-form submissions. |
EVOLAYER_BASE_EXAMPLE_CONTACT_AI | AI-assisted contact form (triage, auto-tagging). |
EVOLAYER_BASE_EXAMPLE_VOICE_INPUT | Voice-input block. |
EVOLAYER_BASE_EXAMPLE_AI_TEXT_FIELD | <AiTextField> block — inline streaming suggestions. |
Substrate Features
These flags toggle backend processing features.
| Flag | Description |
|---|---|
EVOLAYER_BASE_FEATURE_CONTACT_ATTACHMENTS | Enables 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.
| Key | Description |
|---|---|
SITE_JSONLD_TYPE | schema.org type(s) for the business node, e.g. "LocalBusiness" or "GeneralContractor,HomeAndConstructionBusiness". Blank = no business node. |
SITE_JSONLD_TELEPHONE | telephone, e.g. +441234567890. |
SITE_JSONLD_EMAIL | email contact for the business node. |
SITE_JSONLD_AREA_SERVED | areaServed as a plain string. |
SITE_JSONLD_PRICE_RANGE | priceRange, e.g. ££. |
SITE_JSONLD_SAME_AS | Comma-separated profile URLs emitted as sameAs (also enriches the Organization node when no business type is set). |
SITE_ASSET_VERSION | Global ?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?