sanity-io / example-frontend-silex-twig

An example of a Sanity powered frontend using Silex + Twig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example of a Sanity powered frontend using Silex + Twig

License:MIT License


Languages

Language:HTML 39.5%Language:PHP 32.9%Language:CSS 27.6%