PHPackages                             goleden/convert - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. goleden/convert

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

goleden/convert
===============

convert

v2.2.2(5y ago)2361[1 PRs](https://github.com/goleden/convert/pulls)MITPHPCI failing

Since Sep 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/goleden/convert)[ Packagist](https://packagist.org/packages/goleden/convert)[ RSS](/packages/goleden-convert/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (3)Versions (8)Used By (0)

文件格式转换
======

[](#文件格式转换)

目前支持word转html，word转pdf，html转pdf，pdf转图片，图片转pdf。

已生产使用。

安装
--

[](#安装)

composer require goleden/convert

相关工具
----

[](#相关工具)

Imagick、LibreOffice、wkhtmltopdf

相关问题
----

[](#相关问题)

- libreoffice转换，格式会有部分问题。
- pdf大文件，imagick转化较慢，甚至会出现内存泄露问题，可以单张转换，已提供convertPage方法。
- pdf转图片，需要安装ghostscript
- libreoffice需要安装对应字体
- libreoffice修改临时目录权限，或者设置用户的$HOME目录。如：chown -R www:www /home/www/

即将支持
----

[](#即将支持)

office文件转其他（windows）

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~88 days

Total

6

Last Release

2066d ago

Major Versions

v1.3.2 → v2.0.12019-09-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/8be0e578e3672e65bb941d45c5a67c9064606eae6dadf0f123f78add782460d1?d=identicon)[goleden](/maintainers/goleden)

---

Top Contributors

[![goleden](https://avatars.githubusercontent.com/u/9799444?v=4)](https://github.com/goleden "goleden (42 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/goleden-convert/health.svg)

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

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[spatie/typescript-transformer

This is my package typescript-transformer

3706.5M16](/packages/spatie-typescript-transformer)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[eclipxe/cfdiutils

PHP Common utilities for Mexican CFDI 3.2, 3.3 &amp; 4.0

141129.9k6](/packages/eclipxe-cfdiutils)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

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