# easy-im
**Repository Path**: TestsLing/easy-im
## Basic Information
- **Project Name**: easy-im
- **Description**: 基于各大厂商IM开发的composer包
- **Primary Language**: PHP
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2020-09-10
- **Last Updated**: 2023-05-09
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
📦 基于腾讯IM的php-sdk
[](https://github.com/TestsLing/easy-im/actions)
[](https://github.com/TestsLing/easy-im/actions)
[](https://scrutinizer-ci.com/g/TestsLing/easy-im/?branch=master)
[](https://scrutinizer-ci.com/g/TestsLing/easy-im/?branch=master)
[](//packagist.org/packages/longing/easy-im)
[](//packagist.org/packages/longing/easy-im)
[](//packagist.org/packages/longing/easy-im)
[](//packagist.org/packages/longing/easy-im)
## Requirement
1. PHP> = 7.2
2. ** [Composer](https://getcomposer.org/) **
3. openssl拓展
## Installation
```shell
$ composer require longing/easy-im:~1.0 -vvv
```
## Usage
基本使用(以服务端为例):
```php
use EasyIM\Factory;
$options = [
'sdk_app_id' => '1400306676', // sdkAppId
'secret' => '3e373d1ef02ef192ee26c94760681cdf492b4b7f053fc16504d30a77a028e76d', // secret
'identifier' => 'admin', // 管理员账号
'expire' => 86400, // 签名过期时间
// ...
];
$app = Factory::TencentIM($options);
```
[更多](https://www.easyim.cn)
## License
MIT