Skip to content

Instantly share code, notes, and snippets.

@fdnklg
Last active November 4, 2019 08:17
Show Gist options
  • Save fdnklg/ac392f2e1fb7e0bf8ee026dbdcfe6aad to your computer and use it in GitHub Desktop.
Save fdnklg/ac392f2e1fb7e0bf8ee026dbdcfe6aad to your computer and use it in GitHub Desktop.

How to create a minial Headless CMS and REST API with Kirby 3

  1. Get the plain Kirby Kit
  2. Download and install the Better Rest Plugin
  3. For local development create the config folder under /site/ and create a config.php
  4. Add the following:
<?php

return [
    'debug' => true,
    'api' => [
        'basicAuth' => true,
        'allowInsecure' => true
      ]
];
  1. Don't forget to edit the .htaccess and rewrite the root directory's path.
RewriteBase /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment