Configuration reference
Every environment variable the application reads, what it does, and what breaks when it is wrong.
Application
| Variable | Does | Notes |
|---|---|---|
| Displayed name. | Also the default mail sender name. |
| Environment. |
|
| Signs cookies and sessions. |
|
| Stack traces. | Must be |
| Absolute base URL. | Used in emails and canonical URLs. Get it wrong and every link in every email is wrong. |
Encryption
| Variable | Does | Notes |
|---|---|---|
| Roots the secret store. | Required in production. No recovery if lost. |
| Derives passkey user handles. | Defaults to |
Database, cache, queue, sessions
| Variable | Does |
|---|---|
|
|
| Connection details. |
|
|
|
|
|
|
| Minutes. Default 120. |
Trusted proxies
| Value | When |
|---|---|
unset | Behind Cloudflare. Trusts their published ranges, which is the default. |
| A PaaS, or an origin only the platform proxy can reach. |
| A load balancer inside a private network. |
| nginx rewriting the address itself. |
php artisan proxies:check diffs the built-in Cloudflare list against the live one. Worth running on a schedule - a stale list does not fail loudly, it silently starts recording edge addresses in your audit log.
| Variable | Does |
|---|---|
|
|
| For the Resend transport. |
| For SMTP. |
| Default sender. Must be on the verified domain. |
| Default sender name. |
|
|
Individual messages override the sender per category - security, support, privacy, sales - from config/company.php. Those addresses must accept mail: several templates invite a reply.
php artisan shortspan:preview-mailDocumentation site
| Variable | Does |
|---|---|
| Hostname the documentation answers on. Unset, it mounts at |
| Absolute origin for canonical URLs and the sitemap. Include the port if it is non-standard. |
| Mount path when no domain is configured. Defaults to |
|
|
Point a second server block at the same document root with a server_name matching DOCS_DOMAIN. Routing is by hostname; nothing else differs.
CLI releases
| Variable | Does |
|---|---|
| Bearer token the build pipeline publishes with. Unset closes the endpoint, which is correct for any deployment that does not cut releases. |
| Comma-separated hosts a download URL may point at. Defaults to |
| How long a CLI may cache an update check. Default 24. |
Workspaces and onboarding
| Variable | Does |
|---|---|
| How long an invitation stays valid. Default 7. |
| Recorded against every acceptance. Bump it - as a date - when the terms materially change. |
Reserved workspace slugs live in config/workspaces.php. Add to that list if you introduce a hostname or route that a workspace slug could collide with.
Billing
| Variable | Does |
|---|---|
| Paddle API key. |
| Client-side token for the checkout. |
| Verifies incoming webhooks. |
|
|
| Price ids for the paid tiers. |
Company identity
COMPANY_* variables drive config/company.php, which is the single source for the entity details rendered in the footer, the contact page, all eight legal documents, and the email templates.
| Variable | Does |
|---|---|
| Entity identity. |
| Registered address. |
| Governing law for the Terms. |
| The role addresses: support, sales, security, privacy, legal, abuse, dpo. |
| Docs, status page, and social profiles. |
| Dates shown on every policy and in the sitemap. |
Something here wrong or missing? Tell us.