PHPackages                             fw4/setle-api - 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. fw4/setle-api

ActiveLibrary[API Development](/categories/api)

fw4/setle-api
=============

PHP library for implementing the Setle API

v2.1.0(2y ago)045MITPHPPHP ^7.1|^8.0|^8.1

Since Nov 27Pushed 2y ago3 watchersCompare

[ Source](https://github.com/fw4-bvba/setle-api)[ Packagist](https://packagist.org/packages/fw4/setle-api)[ RSS](/packages/fw4-setle-api/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (6)Versions (9)Used By (0)

Setle API
=========

[](#setle-api)

PHP client for the [Setle](https://www.setle.be) API. For information and terms of use, refer to the [official documentation](https://public-api.setle.app/).

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

[](#installation)

`composer require fw4/setle-api`

Usage
-----

[](#usage)

```
use Setle\Setle;

// Instantiate the API using a client id and client secret
$api = new Setle('client-id-string', 'client-secret-string');

// Request a list of estates
$estates = $api->getEstates();
foreach ($estates as $estate) {
    echo $estate->estate->estate_type . ': ' . $estate->referral_link . PHP_EOL;
}
```

Access tokens
-------------

[](#access-tokens)

Access tokens are managed by the library, and long-running scripts will automatically trigger a refresh when a token expires. Due to the short lifespan of Setle's access tokens it is not recommended to manage tokens manually, but it is supported through the `requestAccessToken()` and `setAccessToken()` methods.

License
-------

[](#license)

`fw4/setle-api` is licensed under the MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 73.9% 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 ~326 days

Total

5

Last Release

736d ago

Major Versions

1.0.2 → v2.0.02023-03-06

PHP version history (2 changes)1.0.0PHP ^7.1

1.0.1PHP ^7.1|^8.0|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fe7a44c5e07cf8dd0eed2941b88dcab03342fb149ede5347b3467bc17691d4e?d=identicon)[Fyrts](/maintainers/Fyrts)

---

Top Contributors

[![fyrts](https://avatars.githubusercontent.com/u/5918336?v=4)](https://github.com/fyrts "fyrts (17 commits)")[![DeKerpelLaurent](https://avatars.githubusercontent.com/u/7040102?v=4)](https://github.com/DeKerpelLaurent "DeKerpelLaurent (3 commits)")[![marsnys](https://avatars.githubusercontent.com/u/7162420?v=4)](https://github.com/marsnys "marsnys (3 commits)")

---

Tags

apisdksetlehomeweb

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fw4-setle-api/health.svg)

```
[![Health](https://phpackages.com/badges/fw4-setle-api/health.svg)](https://phpackages.com/packages/fw4-setle-api)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M88](/packages/openai-php-laravel)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

617.2M42](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[moe-mizrak/laravel-openrouter

Laravel package for OpenRouter (A unified interface for LLMs)

154177.9k2](/packages/moe-mizrak-laravel-openrouter)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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