Commit b5ea9ea1 authored by Fabien Potencier's avatar Fabien Potencier

merged branch marijn/patch-1 (PR #107)

Commits
-------

bae8c3c8 Added syntax highlighting to `README`

Discussion
----------

Added syntax highlighting to `README`
parents a4bf201a bae8c3c8
...@@ -4,15 +4,19 @@ Silex, a simple Web Framework ...@@ -4,15 +4,19 @@ Silex, a simple Web Framework
Silex is a simple web framework to develop simple websites based on Silex is a simple web framework to develop simple websites based on
[Symfony2][1] components: [Symfony2][1] components:
require_once __DIR__.'/silex.phar';
$app = new Silex\Application(); ```php
<?php
require_once __DIR__.'/silex.phar';
$app->get('/hello/{name}', function ($name) { $app = new Silex\Application();
return "Hello $name";
});
$app->run(); $app->get('/hello/{name}', function ($name) {
return "Hello $name";
});
$app->run();
```
Silex works with PHP 5.3.2 or later. Silex works with PHP 5.3.2 or later.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment