stack/run

Shortcut function for handling HttpKernel front-controller boilerplate.

Installs: 12 186

Dependents: 7

Stars: 20

Watchers: 5

Forks: 2

Language: PHP

v1.0.1 2013-10-25 14:31 UTC

README

Shortcut function for handling HttpKernel front-controller boilerplate.

Example

Usually you need to put all of that $request = ... && $response = $app->handle($request) business in the front controller yourself. No more! With Stack/Run, you just need to call one function:

$app = ...;

Stack\run($app);