PHPackages                             vaibhavpandeyvpz/sandesh - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. vaibhavpandeyvpz/sandesh

ActiveLibrary[HTTP &amp; Networking](/categories/http)

vaibhavpandeyvpz/sandesh
========================

PSR-7 and PSR-17 implementation, works with PHP &gt;= 8.2.

3.0.0(4mo ago)35102MITPHPPHP ^8.2CI passing

Since Jan 28Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/vaibhavpandeyvpz/sandesh)[ Packagist](https://packagist.org/packages/vaibhavpandeyvpz/sandesh)[ Docs](https://github.com/vaibhavpandeyvpz/sandesh)[ RSS](/packages/vaibhavpandeyvpz-sandesh/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (11)Used By (2)

Sandesh
=======

[](#sandesh)

[![Latest Version](https://camo.githubusercontent.com/da2841422b60ef3603fe6a10d7670e2496243bdf2c6d43dd4d7fa443fbd978d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7661696268617670616e64657976707a2f73616e646573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/sandesh)[![Downloads](https://camo.githubusercontent.com/66b55eae4f4a0b391c1e8b19f2fe80886109e234c8491b952f878bd263ce23b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7661696268617670616e64657976707a2f73616e646573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/sandesh)[![PHP Version](https://camo.githubusercontent.com/58bb01e940964faa234d74968963b510b5a5288b1630ca179f55efb9bbe42b2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7661696268617670616e64657976707a2f73616e646573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/sandesh)[![License](https://camo.githubusercontent.com/8d62cb2d616507cd84766000c2ae1373474719dd89bdbf1d8901f973d25c44c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7661696268617670616e64657976707a2f73616e646573682e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/ba21b6b6b816a016f3deda949d1e60b0545fdd3fa395e9a20540931ec2a4c8a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7661696268617670616e64657976707a2f73616e646573682f74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/vaibhavpandeyvpz/sandesh/actions)

A modern, PHP 8.2+ implementation of [PSR-7](https://www.php-fig.org/psr/psr-7/) (HTTP Message Interfaces) and [PSR-17](https://www.php-fig.org/psr/psr-17/) (HTTP Factories). Sandesh (संदेश) means "message" in Hindi.

Features
--------

[](#features)

- ✅ Full PSR-7 and PSR-17 compliance
- ✅ PHP 8.2+ with strict types and modern features
- ✅ Immutable message objects
- ✅ Type-safe HTTP method enum
- ✅ Cookie parsing and management (RFC 6265)
- ✅ Server response sender
- ✅ Automatic body parsing (JSON, form data, XML)
- ✅ Comprehensive test coverage

Installation
------------

[](#installation)

```
composer require vaibhavpandeyvpz/sandesh
```

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2
- PSR-7 HTTP Message Interfaces (^2.0)
- PSR-17 HTTP Factory Interfaces (^1.1)

Quick Start
-----------

[](#quick-start)

### Creating HTTP Messages

[](#creating-http-messages)

#### Request

[](#request)

```
