PHPackages                             baywa-re-lusy/users-api-sdk - 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. baywa-re-lusy/users-api-sdk

ActiveLibrary[API Development](/categories/api)

baywa-re-lusy/users-api-sdk
===========================

BayWa r.e. LUSY Users API SDK

5.0.1(11mo ago)0492proprietaryPHPPHP &gt;= 8.2

Since Feb 2Pushed 11mo agoCompare

[ Source](https://github.com/baywa-re-lusy/users-api-sdk)[ Packagist](https://packagist.org/packages/baywa-re-lusy/users-api-sdk)[ Docs](https://github.com/baywa-re-lusy/users-api-sdk)[ RSS](/packages/baywa-re-lusy-users-api-sdk/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (10)Dependencies (17)Versions (24)Used By (0)

BayWa r.e. Users API SDK
========================

[](#baywa-re-users-api-sdk)

This SDK can be used to retrieve Users and Subsidiaries.

All dependencies injected into the constructor are PSR-compatible:

- Cache :
- HTTP Client :
- HTTP Messages :
- Logger :

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

[](#installation)

```
composer require baywa-re-lusy/users-api-sdk
```

Usage
-----

[](#usage)

```
use Laminas\Cache\Storage\Adapter\Apcu;

$tokenCache  = new \Laminas\Cache\Psr\CacheItemPool\CacheItemPoolDecorator(new Apcu());
$resultCache = new \Laminas\Cache\Psr\CacheItemPool\CacheItemPoolDecorator(new Apcu());
$httpClient  = new \GuzzleHttp\Client();

$usersApiClient = new \BayWaReLusy\UsersAPI\SDK\UsersApiClient(
    "",
    "",
    "",
    "",
    $tokenCache,
    $resultCache,
    $httpClient
);

$users            = $usersApiClient->getUsers();
$subsidiaries     = $usersApiClient->getSubsidiaries();
$user             = $usersApiClient->getUser('');
```

Cache Refresh via Console commands
----------------------------------

[](#cache-refresh-via-console-commands)

This SDK contains Symfony Console commands to refresh the User/Subsidiary cache. You can include the Console commands into your application:

```
$cliApp = new \Symfony\Component\Console\Application();

$cliApp->add(new \BayWaReLusy\UsersAPI\SDK\Console\RefreshUserCache($usersApiClient));
$cliApp->add(new \BayWaReLusy\UsersAPI\SDK\Console\RefreshSubsidiaryCache($usersApiClient)));
```

And then run the Console commands with:

```
./console users-api-sdk:refresh-user-cache
./console users-api-sdk:refresh-subsidiary-cache
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance50

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 95.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 ~38 days

Recently: every ~48 days

Total

23

Last Release

356d ago

Major Versions

0.4.4 → 1.0.02023-02-17

1.1.1 → 2.0.02023-03-09

2.1.1 → 3.0.02023-03-13

3.x-dev → 4.0.02024-07-03

4.x-dev → 5.0.02025-05-08

PHP version history (2 changes)0.1.0PHP &gt;= 8.1

4.0.0PHP &gt;= 8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d6584819dabfe835a6caa1826bf2716dee040714e2a769365afa84d68b144b9?d=identicon)[ppaulis](/maintainers/ppaulis)

---

Top Contributors

[![ppaulis](https://avatars.githubusercontent.com/u/1609503?v=4)](https://github.com/ppaulis "ppaulis (47 commits)")[![bluespuke](https://avatars.githubusercontent.com/u/1756106?v=4)](https://github.com/bluespuke "bluespuke (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/baywa-re-lusy-users-api-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/baywa-re-lusy-users-api-sdk/health.svg)](https://phpackages.com/packages/baywa-re-lusy-users-api-sdk)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)

PHPackages © 2026

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