PHPackages                             henrick/exmailqq - 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. henrick/exmailqq

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

henrick/exmailqq
================

腾讯企业邮箱开放平台SDK

1.0.0(5y ago)116Apache-2.0PHP

Since May 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/henrickcn/exmailqq)[ Packagist](https://packagist.org/packages/henrick/exmailqq)[ Docs](https://henrickcn.github.io/exmailqq/)[ RSS](/packages/henrick-exmailqq/feed)WikiDiscussions master Synced 6d ago

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

腾讯企业邮箱开放平台SDK-PHP版
==================

[](#腾讯企业邮箱开放平台sdk-php版)

说明：本SDK依赖于curl/curl类，使用SDK时，请先加载curl类，如果使用composer包安装，无需关注次说明

如果你有什么使用问题及bug，你可以到本SDK的github issues提交 [提交问题](https://github.com/henrickcn/exmailqq/issues).

安装方法
----

[](#安装方法)

在终端进入对应的项目目录，输入以下命令:

```
composer require henrick/exmailqq
```

或者在composer.json文件追加此行

```
"henrick/exmailqq": "v1.0.0"
```

使用方法
----

[](#使用方法)

```
$corpid     = "test0001";  //公司ID
$corpsecret = "ii5Q4jihb1CcfyiT1TcIIq0ecmQKvRm"; //应用秘钥

//通讯录接口
$exmail = new \Henrick\ExmailQQ\ExmailQQMailList($corpid, $corpsecret);
$token = $exmail->getAccessToken(); //获取access_token
$department = $exmail->getDepartmentList($token);
```

开发注意事项
------

[](#开发注意事项)

- access\_token获取后，需要开发者自行保存维护，建议存储到redis或者其他缓存中。

类文件说明
-----

[](#类文件说明)

- ExmailQQCore.php

> SDK公共文件，封装了curl方法及获取access\_token方法

- ExmailMailList.php

> 通讯录接口，包括：管理部门、管理成员、管理标签、管理邮件群组

- ExmailUserOption.php

> 功能设置，包括：获取功能属性，更改功能属性

- ExmailLog.php

> 系统日志，包括：查询邮件概况、查询邮件、查询成员登录、查询批量任务、查询操作记录

- ExmailMail.php

> 新邮件提醒，单点登录，包括：获取邮件未读数、获取登录企业邮的url

如果觉得有帮助到你，也欢迎各路大佬打赏！ [![](https://camo.githubusercontent.com/b9ac47603632c336d8f42bbc52d2b35c1c2974d85fcd031abf70f09efb0b89f3/68747470733a2f2f68656e7269636b636e2e6769746875622e696f2f65786d61696c71712f696d672f7765636861742d7061792e6a706567)](https://camo.githubusercontent.com/b9ac47603632c336d8f42bbc52d2b35c1c2974d85fcd031abf70f09efb0b89f3/68747470733a2f2f68656e7269636b636e2e6769746875622e696f2f65786d61696c71712f696d672f7765636861742d7061792e6a706567)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2186d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78d7f102db834d177a18608f69865d8365ccf8bb680fe5c56e8083736707788f?d=identicon)[johnyhe](/maintainers/johnyhe)

---

Top Contributors

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

---

Tags

sdkexmail

### Embed Badge

![Health badge](/badges/henrick-exmailqq/health.svg)

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

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)[zumba/amplitude-php

PHP SDK for Amplitude

409.5M5](/packages/zumba-amplitude-php)[ennnnny/tbk

简约优雅的淘宝客SDK

29016.1k1](/packages/ennnnny-tbk)[anilcancakir/laravel-ai-sdk-skills

A skill system for Laravel AI SDK agents. Define reusable AI capabilities with SKILL.md files.

151.1k](/packages/anilcancakir-laravel-ai-sdk-skills)

PHPackages © 2026

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