PHPackages                             rock-ms/wopi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rock-ms/wopi

ActiveLibrary

rock-ms/wopi
============

119.6k↓36.7%[1 issues](https://github.com/rockms-dev/WOPI/issues)[1 PRs](https://github.com/rockms-dev/WOPI/pulls)PHP

Since Dec 13Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/rockms-dev/WOPI)[ Packagist](https://packagist.org/packages/rock-ms/wopi)[ RSS](/packages/rock-ms-wopi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Wopi
====

[](#wopi)

**Minimum PHP version:** *8.0*

Installation
------------

[](#installation)

```
composer require rock-ms/wopi
```

Publish Migrations
------------------

[](#publish-migrations)

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

Publish Model
-------------

[](#publish-model)

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

Publish Configuration
---------------------

[](#publish-configuration)

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

Publish Document Manager
------------------------

[](#publish-document-manager)

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

Usage Overview
--------------

[](#usage-overview)

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

WOPI UI component for wopi preview

``

Documentation
-------------

[](#documentation)

- ****
- `There is a community for wopi called Yammer(` **** `)`

Test Cases
----------

[](#test-cases)

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

Important
---------

[](#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
---------------------

[](#how-to-apply-for-wopi)

- ****
- Fill out the form on the given link ****

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 67.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/84a61537ceb62705539abfd45a1d10943b3e5563fab238483fa5e820333a48ae?d=identicon)[rockms-dev](/maintainers/rockms-dev)

![](https://www.gravatar.com/avatar/299c569a7270bf082a6918c43883acfcbad725e3005673c47fcb000386e9cb26?d=identicon)[Majid2905](/maintainers/Majid2905)

---

Top Contributors

[![cc-uzairseikhai](https://avatars.githubusercontent.com/u/85125995?v=4)](https://github.com/cc-uzairseikhai "cc-uzairseikhai (31 commits)")[![majidqureshi-cc](https://avatars.githubusercontent.com/u/58949293?v=4)](https://github.com/majidqureshi-cc "majidqureshi-cc (12 commits)")[![bilalahmed-cc](https://avatars.githubusercontent.com/u/86607032?v=4)](https://github.com/bilalahmed-cc "bilalahmed-cc (2 commits)")[![rockms-dev](https://avatars.githubusercontent.com/u/153300483?v=4)](https://github.com/rockms-dev "rockms-dev (1 commits)")

### Embed Badge

![Health badge](/badges/rock-ms-wopi/health.svg)

```
[![Health](https://phpackages.com/badges/rock-ms-wopi/health.svg)](https://phpackages.com/packages/rock-ms-wopi)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
