This is a small Silex application that is meant to demonstrate some ways to use the Morgan templating library.
First, clone the repository, and then fetch the dependencies with Composer.
git clone https://github.com/rodnaph/morgan-example.git
cd morgan-example
php composer.phar install
Then copy the web/.htaccess-sample file to web/.htaccess, change the RewriteBase to the URL root the site will be served from, and then open it in your browser.
This project is an ideas-in-progress toy, so will be prone to breakage. Only for the curious ;)