a Symfony Product

The PHP micro-framework
based on the Symfony Components

As of June 2018, Silex is not maintained anymore. Use Symfony 4+ instead. Read more on Symfony's blog.
You are reading the documentation for Silex 2.0. Switch to the documentation for Silex 1.3.

Questions & Feedback


Creative Commons License Silex documentation is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.


We are open to contributions to the Silex code. If you find a bug or want to contribute a provider, just follow these steps:

  • Fork the Silex repository;
  • Make your feature addition or bug fix;
  • Add tests for it;
  • Optionally, add some documentation;
  • Send a pull request, to the correct target branch (1.3 for bug fixes, master for new features).


Any code you contribute must be licensed under the MIT License.

Writing Documentation

The documentation is written in reStructuredText and can be generated using sphinx.

$ cd doc
$ sphinx-build -b html . build
Website powered by Symfony and Twig, deployed on
The Silex logo is © 2010-2018 Symfony