PHPackages                             php127/moredian-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. php127/moredian-sdk

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

php127/moredian-sdk
===================

魔点考勤机PHP-SDK

2.0.1(1y ago)0484—0%MITPHPPHP ^7.3|^7.4|&gt;=8.0

Since Apr 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/aa24615/moredian-sdk)[ Packagist](https://packagist.org/packages/php127/moredian-sdk)[ RSS](/packages/php127-moredian-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (21)Used By (0)

php127/moredian-sdk
===================

[](#php127moredian-sdk)

魔点考勤机 非钉版 php-sdk

官方文档

### 要求

[](#要求)

1. php &gt;= 7.4
2. Composer 2.x

### 安装

[](#安装)

```
composer require php127/moredian-sdk -vvv
```

### 用法

[](#用法)

```
use MoredianSDK\MoredianSDK;

$config = [
     'appId' => 'xxx',
     'appKey' => 'xxx',
     'orgId' => 'xxx',
     'orgAuthKey' => 'xxx',
     'redis' => [ //默认只支持redis缓存,不传请替换自己的缓存驱动
         'host' => '127.0.0.1',
         'port' => 6379,
         'password' => 'xxx'
     ],
     'logs' => [ //不传不记录日志
          'debug' => true, //是否开启
          'path'  => 'logs.log',
     ]
 ];

$sdk = new MoredianSDK($config);

// post 接口
$list = $sdk->postJson('/magicube/app/listOrg',[
   'size' => 10,
   'offset' => 0
]);

// get 接口
$list = $sdk->get('/magicube/app/listOrg',[
   'xxx' =>
]);

```

### 替换缓存

[](#替换缓存)

默认使用redis缓存, 可以替换成其他缓存 需要有标准的 set get 方法

```
$redis = new Redis();

$redis->connect('127.0.0.1',6379);
$redis->auth('xxxx');

$sdk->setCache($redis);

```

### 参与贡献

[](#参与贡献)

1. fork 当前库到你的名下
2. 在你的本地修改完成审阅过后提交到你的仓库
3. 提交 PR 并描述你的修改，等待合并

### License

[](#license)

[MIT license](https://opensource.org/licenses/MIT)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance50

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

19

Last Release

381d ago

Major Versions

1.1.3 → 2.0.02025-04-23

PHP version history (4 changes)1.0.0PHP ^7.4

1.0.1PHP ^7.4|^7.3

1.0.3PHP ^7.3|^7.4|8.0

1.0.4PHP ^7.3|^7.4|&gt;=8.0

### Community

Maintainers

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

---

Tags

moredian-sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php127-moredian-sdk/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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