Silex is a PHP microframework for PHP >=5.3. It is built on the shoulders of Symfony2 and Pimple and also inspired by Sinatra.
Silex is a PHP microframework for PHP. It is built on the shoulders of symfony2 and pimple and also inspired by sinatra.
As of March 2018, the latest stable release of Silex is 2.2.3. For actual improvements check out the changelog.
Silex became end-of-life in June 2018 and is not maintained anymore. Its advised to now use symfony 4 and flex to replace Silex. More information here: https://symfony.com/blog/the-end-of-silex
Information
A microframework provides the guts for building simple single-file apps. Silex aims to be:
- Concise: Silex exposes an intuitive and concise API that is fun to use.
- Extensible: Silex has an extension system based around the Pimple micro service-container that makes it even easier to tie in third party libraries.
- Testable: Silex uses Symfony's HttpKernel which abstracts request and response. This makes it very easy to test apps and the framework itself. It also respects the HTTP specification and encourages its proper use.