PHPackages                             deror/cfdams - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. deror/cfdams

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

deror/cfdams
============

全富數位AMS登入功能

v0.26(6y ago)117MITPHPPHP &gt;=7.0CI failing

Since Feb 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/httpspace/cfdams)[ Packagist](https://packagist.org/packages/deror/cfdams)[ RSS](/packages/deror-cfdams/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (1)Versions (9)Used By (0)

CFD公司會員api工具
============

[](#cfd公司會員api工具)

CFD公司會員api工具，需配合維x的系統服用。 預計未來更新自動token排程等需求。

安裝方式
----

[](#安裝方式)

```
$ composer require deror/cfdams
```

或
-

[](#或)

```
$ php composer.phar require deror/cfdams
```

初始化設定方式
-------

[](#初始化設定方式)

```
use Deror\Cfdams;

$api = new Cfdams([
    'sToken' => "{你取得的網站TOKEN}",# '必填'
    'url'    => "https://ams.domain.tw" # '選填'
]);
```

取得登入網址
------

[](#取得登入網址)

```
$api->getLoginUrl();
```

更新token，
--------

[](#更新token)

1.注意回傳token請重新記錄起來不見了就麻煩惹。 2.到期日仍有三天以上，將無法成功更新。

```
$api->updateToken();
```

查看token到期的時間資訊
--------------

[](#查看token到期的時間資訊)

```
$api->getExpireTokenInfo();
```

是某需要更新token
-----------

[](#是某需要更新token)

預設2天，可於參數帶數字

```
$days = 2;
$api->isNeedUpdateToken($days);
```

取得部門資訊
------

[](#取得部門資訊)

```
$api->getDepartment();
```

取得員工資料
------

[](#取得員工資料)

```
$api->getEmployeesAll();
```

取得離職員工資料
--------

[](#取得離職員工資料)

```
$api->getEmployeesResign();
```

取得老闆資料
------

[](#取得老闆資料)

```
$api->getBoss();
```

取得IT部門
------

[](#取得it部門)

```
$api->getEmployeesIT();
```

取得企劃部門
------

[](#取得企劃部門)

```
$api->getEmployeesPlanning();
```

取得人事部門
------

[](#取得人事部門)

```
$api->getEmployeesPersonnel();
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

8

Last Release

2333d ago

### Community

Maintainers

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

---

Top Contributors

[![httpspace](https://avatars.githubusercontent.com/u/8772609?v=4)](https://github.com/httpspace "httpspace (15 commits)")

### Embed Badge

![Health badge](/badges/deror-cfdams/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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