PHPackages                             weblabnl/restclient - 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. weblabnl/restclient

ActiveLibrary[API Development](/categories/api)

weblabnl/restclient
===================

REST client library

1.0.3(1mo ago)013.9k↓46.9%1Apache-2.0PHP

Since May 8Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/Weblab-nl/restclient)[ Packagist](https://packagist.org/packages/weblabnl/restclient)[ RSS](/packages/weblabnl-restclient/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (8)Versions (5)Used By (1)

WebLab B.V. - RESTClient
========================

[](#weblab-bv---restclient)

This library will help you implement REST APIs faster. Just add an adapter that implements the interface, set the base URL and you are good to go. It's shipped with an OAuth adapter.

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

[](#installation)

### Install using composer:

[](#install-using-composer)

```
composer require weblabnl/restclient

```

Using the Library
-----------------

[](#using-the-library)

#### Setup client

[](#setup-client)

```
$api = new \Weblab\RESTClient\RESTClient();

$adapter = (new \Weblab\RESTClient\Adapters\OAuth)
    ->setAccessToken($accessToken);

$api->setAdapter($adapter);
$api->setBaseURL('https://api.weblab.nl');
```

#### Make a POST request to a REST API

[](#make-a-post-request-to-a-rest-api)

```
$result = $api->post('/users', ['first_name' => 'Ankie', 'last_name' => 'Visser']);
```

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance90

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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.

###  Release Activity

Cadence

Every ~1467 days

Total

3

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bbf2516492b2f3b10b4ded55b1aa2d096814fad45f086c56e8c8543e3c4e9b35?d=identicon)[Shawty81](/maintainers/Shawty81)

---

Top Contributors

[![Shawty81](https://avatars.githubusercontent.com/u/8200183?v=4)](https://github.com/Shawty81 "Shawty81 (3 commits)")[![mckooiker](https://avatars.githubusercontent.com/u/19285394?v=4)](https://github.com/mckooiker "mckooiker (1 commits)")

---

Tags

apicomposerphprest

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/weblabnl-restclient/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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