{"id":20315040,"url":"https://github.com/normal-coder/easy-feishu","last_synced_at":"2025-10-29T12:31:46.453Z","repository":{"id":65037656,"uuid":"581118522","full_name":"normal-coder/easy-feishu","owner":"normal-coder","description":"飞书 PHP SDK","archived":false,"fork":false,"pushed_at":"2022-12-22T10:21:22.000Z","size":9702,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-17T00:01:54.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/normal-coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-22T10:18:58.000Z","updated_at":"2024-04-17T00:01:54.338Z","dependencies_parsed_at":"2023-01-06T20:40:18.864Z","dependency_job_id":null,"html_url":"https://github.com/normal-coder/easy-feishu","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/normal-coder%2Feasy-feishu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/normal-coder%2Feasy-feishu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/normal-coder%2Feasy-feishu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/normal-coder%2Feasy-feishu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/normal-coder","download_url":"https://codeload.github.com/normal-coder/easy-feishu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818878,"owners_count":20025210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T18:17:43.831Z","updated_at":"2025-10-29T12:31:46.402Z","avatar_url":"https://github.com/normal-coder.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Requirement\r\n\r\n1. PHP \u003e= 7.0.0\r\n2. **[composer](https://getcomposer.org/)**\r\n3. openssl 拓展\r\n4. fileinfo 拓展（上传文件需要用到）\r\n5. mbstring 拓展\r\n\r\n\u003e SDK 对所使用的框架并无特别要求\r\n\r\n## Installation\r\n\r\n```shell\r\ncomposer require \"mayunfeng/easy-feishu ^1.0\" -vvv\r\n```\r\n\r\n## Usage\r\n\r\n基本使用（以服务端为例）:\r\n\r\n```php\r\n\u003c?php\r\n\r\nuse EasyFeishu\\Foundation\\Application;\r\n\r\n$options = [\r\n    'debug'               =\u003e false,\r\n    'app_id'              =\u003e 'cli_xxxxxx',\r\n    'app_secret'          =\u003e 'xxxxxxxxxxxxxxxxxxx',\r\n    'encrypt_key'         =\u003e 'xxxxxx',\r\n    'log'                 =\u003e [\r\n        'file'  =\u003e __DIR__.'/../logs/'.date('Y-m-d').'.log',\r\n        'level' =\u003e 'debug',\r\n    ],\r\n    // ...\r\n];\r\n\r\n$app = new Application($options);\r\n\r\n$server = $app-\u003eserver;\r\n$departments = $app-\u003econtact-\u003egetDepartments();\r\n```\r\n\r\n## Integration\r\n\r\n[Laravel 6 拓展包: mayunfeng/laravel-feishu](https://github.com/mayunf/laravel-feishu)\r\n\r\n## License\r\n\r\nMIT\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormal-coder%2Feasy-feishu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnormal-coder%2Feasy-feishu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormal-coder%2Feasy-feishu/lists"}