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

6.0.0(2mo ago)0566proprietaryPHPPHP &gt;= 8.2

Since Feb 2Pushed 2mo 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 6.x Synced yesterday

READMEChangelog (10)Dependencies (34)Versions (26)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

47

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 78.3% 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 ~48 days

Recently: every ~84 days

Total

25

Last Release

84d ago

Major Versions

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

5.x-dev → 6.0.02026-04-10

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)")[![MaximJam](https://avatars.githubusercontent.com/u/100141314?v=4)](https://github.com/MaximJam "MaximJam (11 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

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[sylius/sylius

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

8.5k5.9M738](/packages/sylius-sylius)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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