PHPackages                             janfish/eoffice - 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. janfish/eoffice

ActiveLibrary[API Development](/categories/api)

janfish/eoffice
===============

EOffice Open API SDK

06PHP

Since Jul 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zeng444/eoffice-sdk)[ Packagist](https://packagist.org/packages/janfish/eoffice)[ RSS](/packages/janfish-eoffice/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

EOffice Open API SDK
--------------------

[](#eoffice-open-api-sdk)

#### Reference

[](#reference)

```
use Janfish\EOffice\SDK as EOfficeSDK;

try {
    $config = [
        'apiPrefix' => 'http://192.168.10.242:8010/eoffice10/server/public/',
        'agentId' => '100001',
        'secret' => 'B771nF3FqMCJuaUuv74AhcfXwp5hia7o',
        'user' => 'zengweiqi',
        'timeout' => 30,
    ];
    $sdk = new EOfficeSDK($config);
    $response = $sdk->getDepartment()->tree();
    print_r($response);

} catch (Exception $e) {
    echo $e->getMessage() . PHP_EOL;
}

```

#### Method List

[](#method-list)

```
use Janfish\EOffice\Client as EOfficeClient;

try {
    $config = [
        'apiPrefix' => 'http://192.168.10.242:8010/eoffice10/server/public/',
        'agentId' => '100001',
        'secret' => 'B771nF3FqMCJuaUuv74AhcfXwp5hia7o',
        'user' => 'zengweiqi',
        'timeout' => 30,
    ];
    $sdk = new EOfficeSDK($config);

    $departmentList = $sdk->getDepartment()->tree;

    $userToken = $sdk->getUser()->getToken();
    $userList = $sdk->getUser()->list();

    $flowlist = $sdk->getFlow()->list();
    $flowToDolist = $sdk->getFlow()->todoList();
    $flowDonelist = $sdk->getFlow()->doneList();
    $flowFinishedlist = $sdk->getFlow()->finishedList();

} catch (Exception $e) {
    echo $e->getMessage() . PHP_EOL;
}

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/60a62fd9f299f25558ac4a898ae3833bd7185ba4706bb167a8cabf05a3d96955?d=identicon)[Robert Zeng](/maintainers/Robert%20Zeng)

---

Top Contributors

[![zeng444](https://avatars.githubusercontent.com/u/941266?v=4)](https://github.com/zeng444 "zeng444 (8 commits)")

### Embed Badge

![Health badge](/badges/janfish-eoffice/health.svg)

```
[![Health](https://phpackages.com/badges/janfish-eoffice/health.svg)](https://phpackages.com/packages/janfish-eoffice)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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