Skip to content

Instantly share code, notes, and snippets.

@siygle
Created April 20, 2011 16:18
Show Gist options
  • Save siygle/931815 to your computer and use it in GitHub Desktop.
Save siygle/931815 to your computer and use it in GitHub Desktop.
require_once __DIR__.'/silex.phar';
$app = new Silex\Application();
$app->get('/hello/{name}', function($name) {
return "Hello $name";
});
$app->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment