定制 dustink66/115open-php-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

dustink66/115open-php-sdk

最新稳定版本:v1.0.0

Composer 安装命令:

composer require dustink66/115open-php-sdk

包简介

115开放平台 PHP SDK,支持设备码授权、二维码轮询、access_token获取/刷新、用户信息等。中英文注释,单元测试,CI集成。115 Open Platform PHP SDK with device code auth, QR polling, token, user info, tests, CI.

README 文档

README

中文版 README

115 Open Platform PHP SDK

115 Open Platform PHP SDK. Composer installable, well-documented, with unit tests.

Provides device code auth, QR code login, token management, user info, file management, and offline download. Based on the official documentation, suitable for secondary development and rapid integration.

Features

  • Device Code Authorization
  • QR Code Login
  • Token Management
  • User Info
  • File Management
  • Offline Download

Installation

composer require dustink66/115open-php-sdk

Quick Start

<?php
require 'vendor/autoload.php';
use Open115\Client;

$client = new Client('your_client_id');
// Device Code Auth
$authUrl = $client->auth->getDeviceCodeUrl();
// Get user info
$user = $client->user->getInfo();

Main API Examples

// List files
$files = $client->fileManager->list();

// Offline download
$client->offline->addTask($url);

Contributing

Pull requests and issues are welcome!

License

MIT

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-14