PHPackages                             kasper334/peopleforce-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kasper334/peopleforce-sdk

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

kasper334/peopleforce-sdk
=========================

Unofficial PeopleForce PHP library

v0.2.2(4y ago)042MITPHPPHP ^7.3|^8.0

Since Sep 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kasper334/peopleforce-php-sdk)[ Packagist](https://packagist.org/packages/kasper334/peopleforce-sdk)[ RSS](/packages/kasper334-peopleforce-sdk/feed)WikiDiscussions master Synced 3w ago

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

Unofficial PeopleForce PHP library
----------------------------------

[](#unofficial-peopleforce-php-library)

This is some minimal implementation of SDK for PeopleForce (WIP).

### Installation

[](#installation)

```
composer require kasper334/peopleforce-sdk
```

### Usage:

[](#usage)

```
use Kasper334\PeopleforceSdk\API;
use Kasper334\PeopleforceSdk\Entities\LeaveRequest;

$api = new API('PEOPLEFORCE_API_KEY');

$pendingLeaveRequests = $api->leaveRequests->getAll([
    'states' => [LeaveRequest::STATE_PENDING],
    'employee_ids' => [12345],
    'starts_on' => '2021-01-01',
    'ends_on' => '2021-01-31',
]);

$employees = $api->employees->getAll();

$someEmployee = $api->employees->get(112233);

$someEmployeeLeaveBalances = $api->employees->leaveBalances->get(112233);

$someEmployeeEmergencyContacts = $api->employees->emergencyContacts->get(112233);

$todayCalendarEvents = $api->calendars->getAll([
    'starts_on' => '2021-09-19',
    'ends_on' => '2021-09-19',
]);

$teams = $api->teams->getAll();

$leaveTypes = $api->leaveTypes->getAll();
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~18 days

Recently: every ~49 days

Total

15

Last Release

1504d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/206117717?v=4)[kasper334](/maintainers/kasper334)[@kasper334](https://github.com/kasper334)

---

Top Contributors

[![kspworks](https://avatars.githubusercontent.com/u/15572556?v=4)](https://github.com/kspworks "kspworks (38 commits)")

---

Tags

librarypeopleforce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kasper334-peopleforce-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/kasper334-peopleforce-sdk/health.svg)](https://phpackages.com/packages/kasper334-peopleforce-sdk)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M981](/packages/statamic-cms)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[oat-sa/tao-core

TAO core extension

66143.7k121](/packages/oat-sa-tao-core)[japanese-date/japanese-date

日本の暦、祝日を取り扱うライブラリ

1610.0k](/packages/japanese-date-japanese-date)

PHPackages © 2026

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