Use Storyblok as a form builder with riclep/laravel-storyblok

0.1.6 2022-08-10 15:04 UTC

This package is auto-updated.

Last update: 2022-08-10 15:57:05 UTC


Latest Version on Packagist Build Quality Score Total Downloads Twitter


This page requires Laravel Storyblok

First install the package.

composer require riclep/laravel-storyblok-forms

Publish the package assets - this will copy stub views for each form component

php artisan vendor:publish

Tell Laravel Storyblok where to find the Form Block classes but editing your laravel-storyblok config file and adding the Riclep\StoryblokForms namespace.

'component_class_namespace' => ['Riclep\StoryblokForms\\', 'App\Storyblok\\'],

Install the components - this will create the required components and component groups in Storyblok. Ensure you have your management key and space ID set up in the .env, see Laravel Storyblok installation for details.

php artisan lsf:install


Read the docs

Contribute to the docs

Key Features

  • Use the install Artisan command to create the required components in Storyblok
  • Add fields and validation rules in Storyblok
  • Simple validation
  • Outputs collected form data in a structured format

Future plans

More validation and field types.


See it here


Please feel free to help expand and improve this project. The package uses Git Flow but you can submit a pull request to be merged to the develop branch.


If you discover any security related issues, please email ric@wearebwi.com instead of using the issue tracker.



The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.