PHPackages                             makinacorpus/drupal-onlyoffice-preview - 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. makinacorpus/drupal-onlyoffice-preview

ActiveDrupal-module

makinacorpus/drupal-onlyoffice-preview
======================================

Onlyoffice preview field Module for Drupal 8/9

0.2.1(5y ago)028GPL-2.0+PHP

Since Nov 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/makinacorpus/drupal-onlyoffice-preview)[ Packagist](https://packagist.org/packages/makinacorpus/drupal-onlyoffice-preview)[ Docs](https://github.com/makinacorpus/drupal-onlyoffice-preview)[ RSS](/packages/makinacorpus-drupal-onlyoffice-preview/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Onlyoffice Preview Field Module for Drupal 8/9
==============================================

[](#onlyoffice-preview-field-module-for-drupal-89)

**Note : You will need your own [Onlyoffice server](https://www.onlyoffice.com/fr/) to use this module.**

The Onlyoffice Preview Field Module creates a simple field type that allow you to display document Media in iframe throw an Onlyoffice server.

[![preview](odt_example.png)](odt_example.png)

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

[](#installation)

Download sources with composer:

```
composer require makinacorpus/drupal-onlyoffice-preview

```

Install the module with drush:

```
bin/drush en onlyoffice_preview -y

```

Configure the module: visit `/admin/config/content/onlyoffice-preview`

**Congrats, *Onlyoffice preview field type* can now be used with any entity type !**

Supported document types
------------------------

[](#supported-document-types)

- Text : doc, docx, odt, pdf, docm, dot, dotm, dotx, epub, fodt, htm, html, mht, ott, rtf, txt, djvu, xp,
- Spreadsheet : xls, xlsx, ods, csv, fods, ots, xlsm, xlt, xltm, xltx
- Presentation : ppt, pptx, odp, fodp, otp, pot, potm, potx, pps, ppsm, ppsx, pptm

Display mode
------------

[](#display-mode)

The unique display mode for this field let you choose some parameters :

- Iframe dimensions (width and height)
- Onlyoffice display/permission options:
    - Allow comments, download, edit, print, review, plugins
    - Hide/show right menu, chat, help

Support
-------

[](#support)

Feel free to [open an issue](https://github.com/makinacorpus/drupal-onlyoffice-preview/issues).

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~3 days

Total

5

Last Release

1983d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d21b98752b406528da88850922b1061f39bf72eb2126b413d5c12e275811a40b?d=identicon)[Makina Corpus](/maintainers/Makina%20Corpus)

---

Top Contributors

[![SimonMellerin](https://avatars.githubusercontent.com/u/29925135?v=4)](https://github.com/SimonMellerin "SimonMellerin (14 commits)")

### Embed Badge

![Health badge](/badges/makinacorpus-drupal-onlyoffice-preview/health.svg)

```
[![Health](https://phpackages.com/badges/makinacorpus-drupal-onlyoffice-preview/health.svg)](https://phpackages.com/packages/makinacorpus-drupal-onlyoffice-preview)
```

PHPackages © 2026

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