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
===================

1.0.2(8y ago)012.7k↓44.4%1Apache-2.0PHP

Since May 8Pushed 8y ago3 watchersCompare

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

READMEChangelogDependencies (4)Versions (3)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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2933d 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)")

---

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

[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)
