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)0819↓22.2%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 today

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

32

—

LowBetter than 69% of packages

Maintenance44

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

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

436d 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://avatars.githubusercontent.com/u/33275679?v=4)[读心印](/maintainers/aa24615)[@aa24615](https://github.com/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

[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)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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