Skip to main content

Storyblok

An integration bundle for Storyblok.

This bundle provides helpers for

  • Describing the Storyblok component data structures
  • Syncing the data structure to Storyblok
  • Fetching data and validating it against the defined structure

Installation

composer require 21torr/storyblok

If you are using Symfony Flex you are all set.

Manual configuration

Load the routing:

config/routes/storyblok.yaml
storyblok:
prefix: /storyblok/
resource: '@TorrStoryblokBundle/config/routes.yaml'

Adapter Setup

The bundle is adapter-based. You create one adapter per Storyblok space and configure each adapter with its own StoryblokConfig.

Continue with the adapter guide for setup, usage and configuration details.

Additional Helpers

Events Overview

The Storyblok bundle dispatches these events: