April 20, 2015 Javier Eguiluz

Today we're glad to officially introduce the Symfony Demo application. This project is a fully-functional Symfony application developed as a learning resource. The application deprecates the old AcmeDemoBundle and it can be considered the reference implementation of the Symfony Best Practices.

Technically, the application consists of a blog engine with both a public and a private section:

The private section is a simple CRUD backend developed from scratch:

Every application page includes a Show Source button which displays the Symfony controller and the Twig template used to render the current page:

In addition, the source code of the application contains tons of comments to help you better understand why and how things work.

How to install the Symfony Demo application¶ Open a command console and execute the following command anywhere in your system: 1 $ symfony demo This command leverages the Symfony Installer to download and install the demo application. If the demo command doesn't work, update your old installer version executing symfony self-update . Once the demo application is downloaded, use the built-in web server to run it: 1 2 $ cd symfony_demo/ $ php app/console server:run The Symfony Demo application is designed to run out-of-the-box, so you won't need to configure anything or run any other command. Alternatively, you can get the demo application through the symfony/symfony-demo repository.