PHPackages                             silinternational/idp-pw-api-personnel-id-broker - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. silinternational/idp-pw-api-personnel-id-broker

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

silinternational/idp-pw-api-personnel-id-broker
===============================================

IdP Password Management personnel component for ID Broker

2.0.0(7y ago)0397MITPHPPHP &gt;=7.0

Since Jun 16Pushed 4y ago2 watchersCompare

[ Source](https://github.com/sil-org/idp-pw-api-personnel-id-broker)[ Packagist](https://packagist.org/packages/silinternational/idp-pw-api-personnel-id-broker)[ RSS](/packages/silinternational-idp-pw-api-personnel-id-broker/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (6)Dependencies (6)Versions (8)Used By (0)

ARCHIVED
========

[](#archived)

This repository is no longer maintained. It has been incorporated into [idp-pw-api](https://github.com/silinternational/idp-pw-api).

---

idp-pw-api-personnel-idbroker
=============================

[](#idp-pw-api-personnel-idbroker)

IdP Password Management personnel component for ID Broker

Summary
=======

[](#summary)

This project has one class (*IdBroker*) with three public methods which use the ID Broker php client to get person data from the ID Broker service. Each of these functions attaches that data to a PersonnelUser instance which it then returns.

The public methods are ...

- findByEmployeeId($employeeId) // Preferred method
- findByUsername($username)
- findByEmail($email)

Configuration
-------------

[](#configuration)

This code is loaded in as a Yii2 Component in the main config file. Here is an example:

```
'components' => [
    'personnel' => [
        'class' => 'Sil\IdpPw\Common\Personnel\IdBroker\IdBroker',
        'baseUrl' => Env::requireEnv('ID_BROKER_BASE_URI'),
        'accessToken' => Env::requireEnv('ID_BROKER_ACCESS_TOKEN'),
        'assertValidBrokerIp' => true,
        'validIpRanges' => ['10.0.01/16','127.0.0.1/32'],
    ],
]
```

A more concise example:

```
'components' => [
    'personnel' => ArrayHelper::merge(
        ['class' => 'Sil\IdpPw\Common\Personnel\IdBroker\IdBroker'],
        Env::getArrayFromPrefix('ID_BROKER_')
    ),
]
```

Run the Unit Tests
------------------

[](#run-the-unit-tests)

```
$ docker-compose run --rm test

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~81 days

Recently: every ~102 days

Total

6

Last Release

2846d ago

Major Versions

1.2.1 → 2.0.02018-07-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5e188393958c4505bb06d9e79ed99a47d1cd42551142f02ef364d8268449ef8?d=identicon)[fillup](/maintainers/fillup)

![](https://www.gravatar.com/avatar/836739aa4f60c754dc9a4a547ebd0c166e4b6e855d9f119df2be5aec92f3a375?d=identicon)[forevermatt](/maintainers/forevermatt)

---

Top Contributors

[![fillup](https://avatars.githubusercontent.com/u/556105?v=4)](https://github.com/fillup "fillup (25 commits)")[![forevermatt](https://avatars.githubusercontent.com/u/6233204?v=4)](https://github.com/forevermatt "forevermatt (21 commits)")[![Baggerone](https://avatars.githubusercontent.com/u/8058522?v=4)](https://github.com/Baggerone "Baggerone (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/silinternational-idp-pw-api-personnel-id-broker/health.svg)

```
[![Health](https://phpackages.com/badges/silinternational-idp-pw-api-personnel-id-broker/health.svg)](https://phpackages.com/packages/silinternational-idp-pw-api-personnel-id-broker)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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