mbessolov / run

Shortcut function for handling HttpKernel front-controller boilerplate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stack/Run

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);

About

Shortcut function for handling HttpKernel front-controller boilerplate.

License:MIT License


Languages

Language:PHP 100.0%