StoryChief v3

Addon by StoryChief

StoryChief v3 Main Screenshot

Connect your Statamic website to StoryChief and publish straight to Statamic


Connect your Statamic website to StoryChief and publish straight to Statamic.

Looking for Statamic 2?

This plugin:

  • Publishes articles straight from StoryChief
  • Keeps your formatting like header tags, bold, links, lists etc
  • Does not alter your website’s branding, by using your site’s CSS for styling


  1. Add the addon through the addon manager or composer require storychief/statamic-storychief
  2. Publish the configuration php artisan vendor:publish --tag=storychief-config
  3. Disable TrimStrings and ConvertEmptyStringsToNull middleware.


1. Create a Statamic channel

If you don't already have an account on StoryChief, sign up! here. Once created, add a Statamic channel on your workspace and take note of the encryption key it gives you.

2. Install addon

  • Install the addon through the Statamic addon manager of your website or by using composer: composer require storychief/statamic-storychief

  • Publish the configuration file: php artisan vendor:publish --tag=storychief-config

  • Set you collection (and blueprint) handle in the foreseen config options, as wel as your field mapping.

3. Disable TrimStrings and ConvertEmptyStringsToNull middleware.

Laravel (and thus Statamic) will register the Middleware TrimStrings and ConvertEmptyStringsToNull on a global level by default. These can cause issues when validating the payload as they will manipulate them. In order for the addon to work properly it is best to remove both of these middlewares from the global scope and add them back on the appropriate route groups. The resulting App\Http\Kernel should look similar to:


namespace App\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
     * The application's global HTTP middleware stack.
     * These middleware are run during every request to your application.
     * @var array
    protected $middleware = [
        // **Removed TrimStrings and ConvertEmptyStringsToNull**

     * The application's route middleware groups.
     * @var array
    protected $middlewareGroups = [
        'web' => [
            // \Illuminate\Session\Middleware\AuthenticateSession::class,
            \App\Http\Middleware\TrimStrings::class, // **ADDED**
            \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, // **ADDED**

        'api' => [
            \App\Http\Middleware\TrimStrings::class, // **ADDED**
            \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, // **ADDED**


4. Confirm

Set your website's url on your Statamic channel and press save. Your website should now be connected.


This plugin requires a StoryChief account. Not a StoryChief user yet? Sign up for free!