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

ActiveLibrary[API Development](/categories/api)

fw4/sweepbright-api
===================

PHP library for implementing the SweepBright API

v1.2.1(2y ago)13.3k↓66.7%2[1 issues](https://github.com/fw4-bvba/sweepbright-api/issues)MITPHPPHP ^7.1|^8.0CI failing

Since Oct 28Pushed 2y ago3 watchersCompare

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

READMEChangelogDependencies (4)Versions (8)Used By (0)

SweepBright API
===============

[](#sweepbright-api)

PHP client for the [SweepBright](https://www.sweepbright.com) Website API. For terms of use and API credentials, refer to [the official documentation](https://website.sweepbright.com/docs/).

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

[](#installation)

`composer require fw4/sweepbright-api`

Usage
-----

[](#usage)

```
$client = new \SweepBright\SweepBright();
$accessToken = getAccessTokenFromDataStore();
if (empty($accessToken) || $accessToken->hasExpired()) {
    $accessToken = $client->requestAccessToken($clientId, $clientSecret);
    saveAccessTokenToDataStore($accessToken);
} else {
    $client->setAccessToken($accessToken);
}
$estate = $client->getEstate($estateId);
```

The API client provides the following methods:

- `public function getEstate(string $estate_id): Response`
- `public function setEstateUrl(string $estate_id, string $url): void`
- `public function saveContact(array $data, ?array $preferences = null, ?array $location_preference = null): void`
- `public function saveEstateContact(string $estate_id, array $data): void`

For more information about available request parameters and response properties, refer to [the official API documentation](https://website.sweepbright.com/docs/). Properties on both requests and responses are style agnostic, and are accessible through both snake\_case and camelCase.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~467 days

Total

4

Last Release

1040d ago

PHP version history (2 changes)1.0PHP ^7.1

1.2.0PHP ^7.1|^8.0

### 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 (7 commits)")[![DeKerpelLaurent](https://avatars.githubusercontent.com/u/7040102?v=4)](https://github.com/DeKerpelLaurent "DeKerpelLaurent (1 commits)")

---

Tags

apisdksweepbright

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[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.5M89](/packages/openai-php-laravel)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.7M18](/packages/xeroapi-xero-php-oauth2)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

Resend PHP library.

617.2M43](/packages/resend-resend-php)

PHPackages © 2026

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