Skip to content

Instantly share code, notes, and snippets.

@mlebkowski
Last active December 20, 2015 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlebkowski/6052041 to your computer and use it in GitHub Desktop.
Save mlebkowski/6052041 to your computer and use it in GitHub Desktop.
<?php
require_once __DIR__ . '/../vendor/autoload.php';
$app = new Silex\Application;
$app->get('/hello/{name}', function ($name) {
return sprintf("Hello %s at PHP v%s\n", $name, phpversion());
});
$app->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment