PHPackages                             discord-php/http - 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. discord-php/http

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

discord-php/http
================

Handles HTTP requests to Discord servers

v10.9.1(2mo ago)25318.7k↓13.8%8[1 PRs](https://github.com/discord-php/DiscordPHP-Http/pulls)6MITPHPPHP ^7.4|^8.0

Since Jan 2Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/discord-php/DiscordPHP-Http)[ Packagist](https://packagist.org/packages/discord-php/http)[ RSS](/packages/discord-php-http/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (20)Versions (83)Used By (6)

DiscordPHP-Http
===============

[](#discordphp-http)

Asynchronous HTTP client used for communication with the Discord REST API.

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

[](#requirements)

- PHP &gt;=7.4

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

[](#installation)

```
$ composer require discord-php/http
```

A [psr/log](https://packagist.org/packages/psr/log)-compliant logging library is also required. We recommend [monolog](https://github.com/Seldaek/monolog) which will be used in examples.

Usage
-----

[](#usage)

```
