Created
November 9, 2017 23:41
-
-
Save peterlafferty/1de6b654bf90fa042dfd510311956cce to your computer and use it in GitHub Desktop.
example silex application for use with integration test that runs built in php web server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// web/index.php | |
require_once __DIR__.'/vendor/autoload.php'; | |
$app = new Silex\Application(); | |
$app->get('/testpage/', function () { | |
return "LOL"; | |
}); | |
$app->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment