Skip to content

Instantly share code, notes, and snippets.

@hannesvdvreken
Last active August 29, 2015 14:16
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 hannesvdvreken/ba67f37e1823bba7d4ed to your computer and use it in GitHub Desktop.
Save hannesvdvreken/ba67f37e1823bba7d4ed to your computer and use it in GitHub Desktop.
proton script to test booboo integration
<?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
require 'vendor/autoload.php';
$app = new Proton\Application();
$app->get('/user/{username}', function (Request $request, Response $response, $args) {
throw new Exception('test');
});
$app->run(Request::create('/user/alexbilbie', 'GET'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment