owncloud/ocis-php-sdk
Composer 安装命令:
composer require owncloud/ocis-php-sdk
包简介
README 文档
README
A PHP SDK for interacting with ownCloud Infinite Scale. It wraps the Libre Graph API and provides high-level PHP classes for managing drives, files, users, groups, shares, notifications, and application roles on an oCIS instance, with support for both OIDC and education-specific access tokens.
Getting Started
Follow the steps below to install and use the oCIS PHP SDK.
Installation via Composer
composer config minimum-stability dev
composer config prefer-stable true
composer require owncloud/ocis-php-sdk
Usage
use Owncloud\OcisPhpSdk\Ocis; $ocis = new Ocis('https://example.ocis.com', $accessToken); $drives = $ocis->getMyDrives();
Run Tests
make test-php-unit make test-php-style make test-php-phpstan
Documentation
Part of ownCloud Infinite Scale
This SDK is the recommended way for PHP applications to integrate with oCIS. It is used by the Moodle oCIS plugin and depends on the libre-graph-api-php client.
This component is part of the oCIS Docker image.
Community & Support
Star this repo and Watch for release notifications!
Contributing
We welcome contributions! Please read the Contributing Guidelines and our Code of Conduct before getting started.
Workflow
- Rebase Early, Rebase Often! We use a rebase workflow. Always rebase on the target branch before submitting a PR.
- Dependabot: Automated dependency updates are managed via Dependabot. Review and merge dependency PRs promptly.
- Signed Commits: All commits must be PGP/GPG signed. See GitHub's signing guide.
- DCO Sign-off: Every commit must carry a
Signed-off-byline:git commit -s -S -m "your commit message" - GitHub Actions Policy: Workflows may only use actions that are (a) owned by
owncloud, (b) created by GitHub (actions/*), or (c) verified in the GitHub Marketplace.
Security
Do not open a public GitHub issue for security vulnerabilities.
Report vulnerabilities at https://security.owncloud.com -- see SECURITY.md.
Bug bounty: YesWeHack ownCloud Program
License
This project is licensed under the Apache-2.0.
About the ownCloud OSPO
The Kiteworks Open Source Program Office, operating under the ownCloud brand, launched on May 5, 2026, to steward the open source ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, community health, and sustainable collaboration between the open source community and Kiteworks, which acquired ownCloud in 2023.
- OSPO Home: https://kiteworks.com/opensource
- GitHub: https://github.com/owncloud
- ownCloud: https://owncloud.com
For questions about the OSPO or licensing, contact ospo@kiteworks.com.
License status: This repository is already licensed under Apache-2.0 -- the OSPO target license. No migration is required.
owncloud/ocis-php-sdk 适用场景与选型建议
owncloud/ocis-php-sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 668 次下载、GitHub Stars 达 4, 最近一次更新时间为 2023 年 11 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 owncloud/ocis-php-sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 owncloud/ocis-php-sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 668
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2023-11-17