Install And Operate DiscussionBridge For Statamic
One Composer addon supports three independent profiles: Statamic Flat, Statamic DB, and Statamic SSG. They may use the same package bytes, but they must not share origins, Content Connections, secrets, application users, databases, state, workers, or rollback packages.
Install And Bind
Section titled “Install And Bind”Preserve the application, environment, users, content, database as applicable, addon state, PHP/web service configuration, and deployed static artifact for SSG. Install the exact tagged Composer package, then run from the Statamic application root:
php please discussionbridge:installThe guided installer configures the forum and site origins, connection ID, protected secret file, lane, collections, service author, migrations, platform catalog, and connection verification without creating content. After an addon update, publish its current Control Panel assets:
php please vendor:publish --tag=statamic-discussion-bridge --forceFollow the component README for the exact release and environment keys.
Every supported Statamic integration requires DiscussionBridge for Discourse, an enabled Content Connection, and the Statamic addon/template integration. Statamic does not provide Astro’s plugin-free Simple or Full path. Presentation alone does not make an initial population necessary.
Flat And DB Operation
Section titled “Flat And DB Operation”New Statamic entries going to Discourse are queued from authoritative content saves and handled by the bounded worker. They do not require an initial backfill. For an explicitly authorized existing forum corpus becoming native Statamic entries, run the Control Panel Synchronize publications action or the matching command once, then use:
php please discussionbridge:sync-publication-work --limit=8under the owning application identity on a real root-owned timer. The initial forum scan is optional From Discourse work; the steady-state worker must not repeat it.
SSG Operation
Section titled “SSG Operation”SSG is a separate protected authoring/build profile. Its unattended order is strict:
php please discussionbridge:refresh-platform-catalogphp please discussionbridge:ssg-prepare-publication-work --limit=8php please discussionbridge:ssg-preparephp please ssg:generate# deploy the exact generated estatephp please discussionbridge:ssg-finalize-publication-workFinalize only after public resource and publication-revision markers verify. If an undeployed candidate must be abandoned, preserve evidence and run:
php please discussionbridge:ssg-abort-publication-workNever delete or edit the protected journal, run a second prepare over it, or schedule the Flat/DB worker for SSG.
Proof Boundary
Section titled “Proof Boundary”The existing large-site fixtures measure local reconciliation or native SSG generation. They do not prove a large Statamic-to-Discourse import. Treat such an import as unqualified until an explicit corpus, rate, idempotency, recovery, and forum-result test has passed.