PHPackages                             broosaction/php-https - 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. broosaction/php-https

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

broosaction/php-https
=====================

Broos Action Request Response Https Library

771PHP

Since Oct 26Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/broosaction/php-https)[ Packagist](https://packagist.org/packages/broosaction/php-https)[ RSS](/packages/broosaction-php-https/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP HTTPS Request Library
=========================

[](#php-https-request-library)

[![License](https://camo.githubusercontent.com/a549a7a30bacba7bfceebdc207a8e86c3f2c02995a2527640dca30048fd2b64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d417061636865253230322e302d626c75652e737667)](https://opensource.org/licenses/Apache-2.0)[![PHP Version](https://camo.githubusercontent.com/4a5057a857cdb86cf011d334f86b1bbf627728435b1bce61d0859516874ee5f8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344372e342d3838393242462e737667)](https://www.php.net/)[![PSR-7](https://camo.githubusercontent.com/fe21edf897ae216b1d954a1deca308f8b31111508424ed4a119473720014cf2d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5053522d2d372d636f6d706c69616e742d677265656e2e737667)](https://www.php-fig.org/psr/psr-7/)

A powerful, lightweight PHP library for making HTTP/HTTPS requests with a simple, elegant API. Built on top of cURL with full PSR-7 compliance, security-first design, and comprehensive error handling.

**Developed by [Broos Action](https://broos.io)** - Your trusted partner for API development, cloud services, and digital transformation solutions.

---

📋 Table of Contents
-------------------

[](#-table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Basic Usage](#basic-usage)
- [Advanced Features](#advanced-features)
- [API Reference](#api-reference)
- [Security](#security)
- [Error Handling](#error-handling)
- [Contributing](#contributing)
- [Support](#support)
- [License](#license)

---

✨ Features
----------

[](#-features)

- 🔒 **Secure by Default** - SSL verification enabled, includes CA certificate bundle
- 🚀 **Simple &amp; Elegant API** - Intuitive static methods for all HTTP operations
- 📦 **PSR-7 Compliant** - Full implementation of PSR-7 HTTP message interfaces
- 🔄 **Automatic JSON Handling** - Seamless JSON encoding/decoding
- 🌐 **Comprehensive HTTP Support** - All standard methods plus WebDAV extensions
- 🔐 **Authentication Built-in** - Basic, Digest, NTLM authentication support
- 🔌 **Proxy Support** - HTTP, SOCKS4, SOCKS5 proxy configuration
- 🍪 **Cookie Management** - Persistent cookie storage and handling
- 📤 **File Uploads** - Easy multipart file upload support
- 🎯 **UTF-8 URL Handling** - Proper internationalized domain name (IDN) support
- ⚡ **Performance Optimized** - Efficient request handling with cURL
- 📊 **Detailed Response Info** - Access to all cURL transfer information

---

📋 Requirements
--------------

[](#-requirements)

- **PHP**: &gt;= 7.4
- **Extensions**:
    - `ext-curl` (required)
    - `ext-json` (required)
    - `ext-pcre` (required)
    - `ext-openssl` (recommended for HTTPS)

---

📥 Installation
--------------

[](#-installation)

### Via Composer (Recommended)

[](#via-composer-recommended)

```
composer require broosaction/php-https
```

### Manual Installation

[](#manual-installation)

1. Download the library
2. Include the autoloader in your project:

```
require_once 'vendor/autoload.php';
```

---

🚀 Quick Start
-------------

[](#-quick-start)

```
