stack / run
Shortcut function for handling HttpKernel front-controller boilerplate.
Installs: 614 194
Dependents: 12
Suggesters: 0
Security: 0
Stars: 29
Watchers: 8
Forks: 7
Open Issues: 0
Requires
- php: >=5.3.0
- symfony/http-foundation: ~2.7|~3.0|~4.0
- symfony/http-kernel: ~2.7|~3.0|~4.0
Requires (Dev)
- stack/callable-http-kernel: ~1.0@dev
This package is not auto-updated.
Last update: 2024-08-03 13:23:00 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);