mayunfeng/easy-feishu 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mayunfeng/easy-feishu

最新稳定版本:v1.1.4

Composer 安装命令:

composer require mayunfeng/easy-feishu

包简介

飞书SDK

README 文档

README

  1. PHP >= 7.0.0
  2. composer
  3. openssl 拓展
  4. fileinfo 拓展(上传文件需要用到)
  5. mbstring 拓展

SDK 对所使用的框架并无特别要求

Installation

composer require "mayunfeng/easy-feishu ^1.0" -vvv

Usage

基本使用(以服务端为例):

<?php

use EasyFeishu\Foundation\Application;

$options = [
    'debug'               => false,
    'app_id'              => 'cli_xxxxxx',
    'app_secret'          => 'xxxxxxxxxxxxxxxxxxx',
    'encrypt_key'         => 'xxxxxx',
    'log'                 => [
        'file'  => __DIR__.'/../logs/'.date('Y-m-d').'.log',
        'level' => 'debug',
    ],
    // ...
];

$app = new Application($options);

$server = $app->server;
$departments = $app->contact->getDepartments();

Integration

Laravel 6 拓展包: mayunfeng/laravel-feishu

License

MIT

统计信息

  • 总下载量: 5.21k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-16