rock-ms/wopi 问题修复 & 功能扩展

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

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

rock-ms/wopi

Composer 安装命令:

composer require rock-ms/wopi

包简介

README 文档

README

Minimum PHP version: 8.0

Installation

composer require rock-ms/wopi

Publish Migrations

php artisan vendor:publish --tag=wopi-migrations

Publish Model

php artisan vendor:publish --tag=wopi-file-model

Publish Configuration

php artisan vendor:publish --tag=wopi-config

Publish Document Manager

php artisan vendor:publish --tag=wopi-document-manager

Usage Overview

Goto config/wopi.php and change document_manager to newly publish document manager class

WOPI UI component for wopi preview

<x-wopi-frame id="pass file id here" />

Documentation

Test Cases

  • Create empty file by extension .wopitest
  • Add it in files table
  • Pass file id to wopi ui component

Important

  • WOPI does not work on your local instance because your local environment is not registered on Microsoft
  • WOPI only works on domains registered with Microsoft

How to apply for WOPI

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-30