a SensioLabs Product

The PHP micro-framework
based on the Symfony Components

Creating a new Project

Via Composer

Composer is the most flexible way to get started with Silex. Create a directory to host your Silex application and run the following command to create a composer.json file:

composer require silex/silex "~2.0"

Then, create a bootstrap file as explained in the documentation.

Via a Skeleton

The easiest way to get started with Silex is to get started with the Silex Skeleton:

composer create-project fabpot/silex-skeleton path/to/install "~2.0"
Website powered by Symfony and Twig, deployed on
The Silex logo is © 2010-2017 SensioLabs