Skip to content

Instantly share code, notes, and snippets.

@gilankpam
Last active March 4, 2017 00:20
Show Gist options
  • Select an option

  • Save gilankpam/eb0ff85599f3b845be1c962b97818b92 to your computer and use it in GitHub Desktop.

Select an option

Save gilankpam/eb0ff85599f3b845be1c962b97818b92 to your computer and use it in GitHub Desktop.
<?php
require 'vendor/autoload.php';
$app = new \Slim\App;
$app->get('/hello', function($request, $response) {
$response->getBody()->write("Hello, $name");
return $response;
});
$app->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment