Search the docs

↑↓ to move · Enter to open · Esc to close

Type to search every page. Results are grouped by section.

TalariaDocs
Dashboard

Docs › SDKs

View as Markdown
On this page

Silverstripe

Install talaria/silverstripe 3.0.3 and flush. Optional SiteHost installer.

talaria/silverstripe 3.0.3 supports Silverstripe 4.13+, 5, and 6. PHP 8.1+.

Install#

composer require talaria/silverstripe:^3.0

Initialise#

Add to .env:

TALARIA_API_KEY="tal_sk_prod_nz1_…"
# TALARIA_BROWSER_API_KEY="tal_pk_prod_nz1_…"
vendor/bin/sake dev/build flush=1

Leave TALARIA_URL empty on Talaria Cloud. Tracing and analytics follow project settings.

Verify#

\Talaria\Talaria::captureException(new \RuntimeException('Talaria test error'));

Run this once, then open Issues in the dashboard. The test error shows as a new issue in the key's environment. Nothing there? See fail-safe.

SiteHost#

vendor/bin/talaria-sitehost install reads talaria/sitehost/monitors.json and reconciles one crontab block and the supervisord probe. The SiteHost deploy action runs this command and also installs the log collector. Full steps: SiteHost containers.

Next#

See configuration, errors, and tracing.

Was this helpful?