stack/run

Shortcut function for handling HttpKernel front-controller boilerplate.

Maintainers

Details

github.com/stackphp/run

Source

Issues

Installs: 145 084

Dependents: 11

Suggesters: 0

Stars: 25

Watchers: 7

Forks: 8

Open Issues: 0

v1.1.0 2018-02-20 10:28 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);