Posted On: Feb 22, 2018
Silex is a PHP microframework and is built with Symfony and Pimple as a base. It is also inspired by Sinatra. It is basically a microframework that helps build simple single-file apps. Silex is concise and testable yet extensible. It helps define controllers and map them to routes in a single step.
Silex is a Symfony based micro web framework that uses the Twig template engine and Doctrine ORM (database abstraction). It is developed by SensioLabs and released under MIT Licensed.
Hello World Program in Silex
$app = new Silex\Application(); $app->get('/', function() use($app) { return 'Hello World!'; }); $app->run();
Never Miss an Articles from us.
Some most popular features of the Silex Framework are as follows - Silex provides a simple and flexible routing system that allows you to map URLs to controllers and methods. Silex makes use...