Skip to content

Instantly share code, notes, and snippets.

Last active Jan 25, 2016
What would you like to do?
require_once 'vendor/autoload.php';
use Symfony\Component\HttpFoundation\Request;
$app = new Silex\Application();
$app->get('/', function(Request $request){
// do something
if(count($argv) < 3)
list($file, $method, $path) = $argv;
$request = Request::create($path, $method);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment