Shortcut function for handling HttpKernel front-controller boilerplate.
PHP
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Stack
tests
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

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