HttpFoundation: Request and Response
Wrap superglobals in HttpFoundation Request and build Response objects.
What is HttpFoundation?
Symfony HttpFoundation is a standalone PHP component that wraps the raw HTTP superglobals ($_GET, $_POST, $_SERVER) in clean, OO classes.
Installing HttpFoundation
Install as a standalone package via Composer.
$ composer require symfony/http-foundationAll lessons in this course
- HttpFoundation: Request and Response
- DependencyInjection Container
- EventDispatcher: Decoupled Events
- Console Component: CLI Commands