PHPackages                             mnvx/unoconv - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. mnvx/unoconv

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

mnvx/unoconv
============

Unoconv wrapper for PHP

1.0.2(9y ago)38704[1 issues](https://github.com/mnvx/unoconv/issues)[1 PRs](https://github.com/mnvx/unoconv/pulls)1MITPHPPHP &gt;=7.0.0

Since Jan 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mnvx/unoconv)[ Packagist](https://packagist.org/packages/mnvx/unoconv)[ Docs](https://github.com/mnvx/unoconv)[ RSS](/packages/mnvx-unoconv/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

PHP wrapper over Unoconv
========================

[](#php-wrapper-over-unoconv)

Simple way for documents conversion into various formats.

For example: html -&gt; docx, html -&gt; pdf, docx -&gt; html and many more.

More about [supported formats](http://dag.wiee.rs/home-made/unoconv/).

Usage
-----

[](#usage)

```
use Mnvx\Unoconv\Converter;
use Mnvx\Unoconv\UnoconvParameters;
use Mnvx\Unoconv\Format;

// Create converter
$converter = new Converter();

// Describe parameters for converter
$parameters = (new UnoconvParameters())
    // HTML document as string on input
    ->setInputStream('Example of HTML document')
    // Result file name
    ->setOutputFile('path-to-result-docx.docx')
    // Format of result document is docx
    ->setOutputFormat(Format::FORMAT_TEXT_DOCX);

// Run converter
$converter->convert($parameters);

```

Install
-------

[](#install)

```
sudo apt-get install unoconv
composer require mnvx/unoconv

```

If you have problems with Unoconv utility, read instructions descibed in [official documentation](https://github.com/dagwieers/unoconv#problems-running-unoconv-from-nginxapachephp).

License
-------

[](#license)

Released under the MIT license

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3409d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bac4bded42026d8fd5726df11002c08442b34b40eed209223a73a784a559f34?d=identicon)[mnvx](/maintainers/mnvx)

---

Top Contributors

[![mnvx](https://avatars.githubusercontent.com/u/829880?v=4)](https://github.com/mnvx "mnvx (8 commits)")

---

Tags

docxdocx-generatorhtmllibreoffice-converterpdfpdf-generationunoconvunoconv

### Embed Badge

![Health badge](/badges/mnvx-unoconv/health.svg)

```
[![Health](https://phpackages.com/badges/mnvx-unoconv/health.svg)](https://phpackages.com/packages/mnvx-unoconv)
```

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M56](/packages/knplabs-knp-snappy)[chrome-php/chrome

Instrument headless chrome/chromium instances from PHP

2.6k4.5M64](/packages/chrome-php-chrome)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3685.2M19](/packages/gotenberg-gotenberg-php)[sensiolabs/gotenberg-bundle

A Symfony bundle that provides seamless integration with Gotenberg for generating PDFs and screenshots from various sources (HTML, Markdown, Office documents, URLs) with a clean, builder-based API.

210210.4k2](/packages/sensiolabs-gotenberg-bundle)[pontedilana/php-weasyprint

PHP library allowing PDF generation from an url or a html page. Wrapper for Kozea/WeasyPrint.

761.1M7](/packages/pontedilana-php-weasyprint)

PHPackages © 2026

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