Nette HTTP

The nette/http package is your companion for all HTTP communication. It provides a clear object-oriented API over the incoming request and outgoing response, simplifies working with sessions and URL addresses, and takes care of security on top of that. Here's what you'll find:

HTTP Request incoming request and input sanitization
HTTP Response outgoing response, headers and cookies
Sessions secure state persistence between requests
URL Utility parsing and building URL addresses
SSRF Protection defense against Server-Side Request Forgery attacks
Configuration configuration options of the package

Installation

Download and install the package using Composer:

composer require nette/http
version: 4.0 3.x 2.x