stack/run

Shortcut function for handling HttpKernel front-controller boilerplate.

v1.1.0 2018-02-20 10:28 UTC

This package is not auto-updated.

Last update: 2024-04-13 11:56:30 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);