champs-libres/wopi-lib
Composer 安装命令:
composer require champs-libres/wopi-lib
包简介
A standard and framework agnostic PHP library to facilitate the implementation of the WOPI protocol.
关键字:
README 文档
README
WOPI Lib
A standard and framework agnostic PHP library to facilitate the implementation of the WOPI protocol.
Description
The Web Application Open Platform Interface (WOPI) protocol let you integrate Office for the web with your application. The WOPI protocol enables Office for the web to access and change files that are stored in your service.
Office for the web platforms:
Installation
composer require champs-libres/wopi-lib
Usage
There are many different ways to store documents in an application. Therefore, this library does not provide a specific implementation of the WOPI protocol described through the WOPI interface.
Thus, this library mostly provides abstractions and few service implementations.
It provides:
- A Wopi interface describing the WOPI protocol
- A Discovery interface and its implementation
- A DocumentManager interface describing a document manager
- A DocumentLockManager interface describing a document lock manager
- A ProofValidator interface its implementation
- A DotNetTimeConverter interface and its implementation
In order to be foster interoperability and be used across many different frameworks, this library uses PSR7, PSR17, PSR18 and PSR12 conventions from the PHP-FIG.
Symfony integration
There is already an implementation of the library in Symfony through the champs-libres/wopi-bundle package.
Documentation
Code quality, tests, benchmarks
Every time changes are introduced into the library, Github runs the tests.
The library has tests written with PHPSpec.
Feel free to check them out in the spec directory. Run composer phpspec to
trigger the tests.
Before each commit, some inspections are executed with GrumPHP; run
composer grumphp to check manually.
The quality of the tests is tested with Infection a PHP Mutation testing
framework, run composer infection to try it.
Static analyzers are also controlling the code. PHPStan and PSalm are enabled to their maximum level.
Contributing
Feel free to contribute to this project by submitting pull requests on Github.
Changelog
See CHANGELOG.md for a changelog based on git commits.
For more detailed changelogs, please check the release changelogs.
champs-libres/wopi-lib 适用场景与选型建议
champs-libres/wopi-lib 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11.02k 次下载、GitHub Stars 达 15, 最近一次更新时间为 2021 年 08 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「wopi」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 champs-libres/wopi-lib 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 champs-libres/wopi-lib 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 champs-libres/wopi-lib 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
统计信息
- 总下载量: 11.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-05