import ExternalLink from 'sentry/components/links/externalLink';
import {StepType} from 'sentry/components/onboarding/gettingStartedDoc/step';
import type {
Docs,
DocsParams,
OnboardingConfig,
} from 'sentry/components/onboarding/gettingStartedDoc/types';
import {
getCrashReportModalConfigDescription,
getCrashReportModalIntroduction,
getCrashReportPHPInstallStep,
} from 'sentry/components/onboarding/gettingStartedDoc/utils/feedbackOnboarding';
import replayOnboardingJsLoader from 'sentry/gettingStartedDocs/javascript/jsLoader/jsLoader';
import {t, tct} from 'sentry/locale';
type Params = DocsParams;
const onboarding: OnboardingConfig = {
introduction: () =>
tct(
'Symfony is supported via the [code:sentry-symfony] package as a native bundle.',
{code: }
),
install: (params: Params) => [
{
type: StepType.INSTALL,
configurations: [
{
language: 'bash',
description: (
{tct('Install the [code:sentry/sentry-symfony] bundle:', {code: })}
{tct('Add your DSN to your [code:.env] file:', {code: })}
{tct(
'Add further configuration options to your [code:config/packages/sentry.yaml] file:',
{code: }
)}
{tct(
"After you visit the [code:/_sentry-test page], you can view and resolve the recorded error by logging into [sentryLink:sentry.io] and opening your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.",
{sentryLink: }
)}