An example of a Sanity powered frontend using Silex + Twig
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
public
views
.editorconfig
.gitignore
LICENSE.md
README.md
composer.json
composer.lock

README.md

Sanity + Silex + Twig example

This is an example Sanity powered frontend for the movies database dataset using Silex and Twig.

Prerequisites

You will need PHP version 5.6 or later as well as Composer installed on your system

Setup

Get the code by either cloning this repository using git

> git clone https://github.com/sanity-io/example-frontend-silex-twig.git

... or downloading source code code as a zip archive.

Once downloaded, open the terminal in the project directory, and install dependencies with:

> composer install

Then start the example app with

> composer run dev --timeout=0

The app should now be up and running at http://localhost:3000