PHPackages                             vaibhavpandeyvpz/dakiya - 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/dakiya

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

vaibhavpandeyvpz/dakiya
=======================

Tiny HTTP client for exchanging PSR-7 messages, based on PSR-18.

3.0.1(3mo ago)1431MITPHPPHP ^8.2CI passing

Since Feb 5Pushed 3mo ago1 watchersCompare

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

READMEChangelog (2)Dependencies (5)Versions (5)Used By (1)

Dakiya
======

[](#dakiya)

[![Latest Version](https://camo.githubusercontent.com/c3cc8edd2507ac0e5d9021d71fe4f765e1c8db41e0056aae2fb0521b0b93c866/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7661696268617670616e64657976707a2f64616b6979612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/dakiya)[![Downloads](https://camo.githubusercontent.com/03198b24f1674832994fee42d0d74c9ea2c88eb84f95f58ad8316ba540ef52c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7661696268617670616e64657976707a2f64616b6979612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/dakiya)[![PHP Version](https://camo.githubusercontent.com/53f9974297e5d13e501c4e870bca470e8ea9519fb0abaf3f5fee6eae1ea8a8ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7661696268617670616e64657976707a2f64616b6979612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/dakiya)[![License](https://camo.githubusercontent.com/4d3bb8a7f7782d9473b9ded9e71510895bb94ab1086082ebe14daeedef3f2bd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7661696268617670616e64657976707a2f64616b6979612e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/b18798d0fc7ad97c5f967329d72f9316c26d20f0cd24383b9c19af20ffc65350/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7661696268617670616e64657976707a2f64616b6979612f74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/vaibhavpandeyvpz/dakiya/actions)

> **Dakiya** (`डाकिया`) means "Postman" in Hindi

A lightweight, PSR-18 compliant HTTP client for PHP 8.2+ that uses cURL as its transport mechanism. Dakiya provides a simple and efficient way to send HTTP requests using PSR-7 message interfaces.

Features
--------

[](#features)

- ✅ **PSR-18 Compliant** - Implements the HTTP Client Interface standard
- ✅ **PSR-7 Compatible** - Works with any PSR-7 message implementation
- ✅ **Modern PHP 8.2+** - Leverages latest PHP features and type safety
- ✅ **Lightweight** - Minimal dependencies, only requires cURL extension
- ✅ **Streaming Support** - Automatic streaming for large request bodies (&gt;1MB)
- ✅ **HTTP/2 Ready** - Supports HTTP/1.0, HTTP/1.1, and HTTP/2.0
- ✅ **All HTTP Methods** - GET, POST, PUT, PATCH, DELETE, HEAD
- ✅ **Authentication** - Built-in support for URI-based authentication
- ✅ **Customizable** - Configurable via cURL options

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

[](#requirements)

- PHP 8.2 or higher
- cURL extension
- A PSR-17 HTTP Factory implementation (for creating requests/responses)
- A PSR-7 HTTP Message implementation

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

[](#installation)

Install via Composer:

```
composer require vaibhavpandeyvpz/dakiya
```

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

[](#quick-start)

```
