PHPackages                             tourze/wechat-work-contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. tourze/wechat-work-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

tourze/wechat-work-contracts
============================

企业微信 API 接口定义和数据契约

1.0.2(6mo ago)01.3k15MITPHPCI passing

Since May 23Pushed 4mo agoCompare

[ Source](https://github.com/tourze/wechat-work-contracts)[ Packagist](https://packagist.org/packages/tourze/wechat-work-contracts)[ RSS](/packages/tourze-wechat-work-contracts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (9)Used By (15)

wechat-work-contracts
=====================

[](#wechat-work-contracts)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/fb535d9064b8559c1ad2293b16d9621a239e9b728176a053c440d0bbce7637f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f7765636861742d776f726b2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-work-contracts)[![PHP Version](https://camo.githubusercontent.com/dbb91cb574462b7b569979258fea7939094de6918e243a2517680d35cffce1af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f7765636861742d776f726b2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-work-contracts)[![License](https://camo.githubusercontent.com/1ce167a04bf73c0a8ffedca1c700c2ae2fc4238d03ddc5580b7c69e1eea88970/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f7765636861742d776f726b2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-work-contracts)[![Quality Score](https://camo.githubusercontent.com/3070037bd98d0345dbc16b3417287191e9674599f88a705136e183834dd256d5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f7765636861742d776f726b2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/wechat-work-contracts)[![Code Coverage](https://camo.githubusercontent.com/cadaecc79a62f87a6935222e2b41924775fedc2d4a2b3d7815041dcfe0eff0d0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f75727a652f7765636861742d776f726b2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/wechat-work-contracts)[![Total Downloads](https://camo.githubusercontent.com/8cbeb540561265e2ce1360c7042cf77aa39d07d1b63b79c564922b4ae66c9503/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f7765636861742d776f726b2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/wechat-work-contracts)

WeChat Work (Enterprise WeChat) contracts and interfaces definitions for PHP applications.

Features
--------

[](#features)

- 🏢 **Enterprise Management** - Standard interfaces for WeChat Work enterprise information
- 👥 **User Management** - Contracts for user/employee data handling
- 🏗️ **Department Management** - Interfaces for organizational structure
- 🤖 **Agent Management** - Application agent configuration contracts
- 🔄 **User Operations** - User loading and creation interface definitions
- 📋 **Type Safe** - Full PHP 8.1+ type hints and nullable return types
- 🎯 **Focused** - Minimal, focused contracts without implementation details

Installation
------------

[](#installation)

```
composer require tourze/wechat-work-contracts
```

Quick Start
-----------

[](#quick-start)

```
