PHPackages                             mrofi/o2pdf - 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. mrofi/o2pdf

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

mrofi/o2pdf
===========

API to convert office files to PDF directly

v1.1.1(9y ago)039MITPHPPHP &gt;=5.5.3

Since Aug 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mrofi/o2pdf)[ Packagist](https://packagist.org/packages/mrofi/o2pdf)[ Docs](https://github.com/mrofi/o2pdf)[ RSS](/packages/mrofi-o2pdf/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

o2pdf
=====

[](#o2pdf)

API to convert office files to PDF directly

How to
------

[](#how-to)

```
    composer require mrofi/o2pdf

```

```
    require 'vendor/autoload.php';

    $office = new O2Pdf\OfficeToPdf('absolute/url/to/office/file/online');
    $pdfUrl = $office->getPdfUrl();
    header('location: '.$pdfUrl);
    // or
    // var_dump($pdfUrl);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

2

Last Release

3604d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7432391?v=4)[Mokhamad Rofiudin](/maintainers/mrofi)[@mrofi](https://github.com/mrofi)

---

Top Contributors

[![mrofi](https://avatars.githubusercontent.com/u/7432391?v=4)](https://github.com/mrofi "mrofi (5 commits)")

### Embed Badge

![Health badge](/badges/mrofi-o2pdf/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[ilovepdf/ilovepdf-php

iLovePDF Php Api

184506.2k](/packages/ilovepdf-ilovepdf-php)[aspose-cloud/aspose-words-cloud

Open, generate, edit, split, merge, compare and convert Word documents. Integrate Cloud API into your solutions to manipulate documents. Convert PDF to Word (DOC, DOCX, ODT, RTF and HTML) and in the opposite direction.

31169.4k](/packages/aspose-cloud-aspose-words-cloud)

PHPackages © 2026

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