PHPackages                             rest/client - 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. [API Development](/categories/api)
4. /
5. rest/client

ActiveLibrary[API Development](/categories/api)

rest/client
===========

An elegant wrapper for working with REST APIs and PSR clients.

05PHPCI passing

Since Dec 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/REST-PHP/Client)[ Packagist](https://packagist.org/packages/rest/client)[ RSS](/packages/rest-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Rest Client
===========

[](#rest-client)

[![Coverage Status](https://camo.githubusercontent.com/01cbc3af571f28283d86bec6124b87f3a34486383de36b1484fb04a380b30033/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f524553542d5048502f436c69656e742f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/REST-PHP/Client?branch=main)

This library is a lightweight, flexible PHP client for making REST API requests. It simplifies HTTP request handling by offering a builder-pattern interface for constructing requests and converting responses. This client supports all common HTTP methods and adheres to PSR standards, ensuring compatibility with existing PHP libraries and frameworks.

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

[](#installation)

Coming Soon

Features
--------

[](#features)

- PSR-7 and PSR-18 Compatible: Leverages PSR interfaces for requests, responses, and HTTP client integration.
- Builder Pattern: Use the RestRequestBuilder to construct requests intuitively.
- Supports All HTTP Methods: Includes GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS, and TRACE.
- Customizable Configuration: Includes authentication and other configuration options via RestClientConfiguration.
- Boolean Query Parameters: Handles boolean query parameters, converting them to string representations as needed.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dca3c3ac71024f7878526a0fe0a384fbf198ed711fe7e7bb34177a1dbc849f6?d=identicon)[golthem](/maintainers/golthem)

---

Top Contributors

[![aidan-casey](https://avatars.githubusercontent.com/u/6686277?v=4)](https://github.com/aidan-casey "aidan-casey (18 commits)")

### Embed Badge

![Health badge](/badges/rest-client/health.svg)

```
[![Health](https://phpackages.com/badges/rest-client/health.svg)](https://phpackages.com/packages/rest-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
