a SensioLabs Product

The PHP micro-framework
based on the Symfony Components

Download and Installation

Via an Archive

The easiest way to get started with Silex is to get an archive with everything included (it contains many optional dependencies):

Download Silex as a "fat" .zip or .tgz file.

You can also download a minimal setup with just the required dependencies:

Download Silex as a "slim" .zip or .tgz file.

These archives have been created using Composer to make them easily upgradable and to allow you to add or remove dependencies easily (see below).

Via Composer

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

    "require": {
        "silex/silex": "~1.3"

And run Composer to install Silex and all its dependencies:

$ curl -sS https://getcomposer.org/installer | php
$ composer.phar install

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

This website is powered by Silex and Twig. The Silex logo is © 2010-2016 SensioLabs