PHPackages                             ppardalj/ultima-paperdoll-drawer-php - 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. [Image &amp; Media](/categories/media)
4. /
5. ppardalj/ultima-paperdoll-drawer-php

ActiveLibrary[Image &amp; Media](/categories/media)

ppardalj/ultima-paperdoll-drawer-php
====================================

Library to generate paperdoll images for Ultima Online characters

v0.1.0(8y ago)7297GPL-3.0+PHPPHP ^7.1.3

Since Oct 12Pushed 8y ago2 watchersCompare

[ Source](https://github.com/ppardalj/ultima-paperdoll-drawer-php)[ Packagist](https://packagist.org/packages/ppardalj/ultima-paperdoll-drawer-php)[ RSS](/packages/ppardalj-ultima-paperdoll-drawer-php/feed)WikiDiscussions master Synced 2d ago

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

Ultima Online Paperdoll Drawer
==============================

[](#ultima-online-paperdoll-drawer)

A PHP library to draw Ultima Online characters' paperdoll images.

[![](./art/sample-paperdoll.png)](./art/sample-paperdoll.png)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1
- GD extension
- These Ultima Online client files (you need to provide them from your UO installation):
    - `gumpidx.mul`
    - `gumpart.mul`
    - `tiledata.mul`
    - `hues.mul`

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

[](#installation)

Via composer:

```
$ composer require ppardalj/ultima-paperdoll-drawer-php
```

Usage
-----

[](#usage)

### Ultima Online client files

[](#ultima-online-client-files)

You need to provide your Ultima Online client MUL files and place them into the [uofiles](./uofiles/) directory. If you're using a newer Ultima Online installation and your client files are UOP format, you'll need to use a tool (such as LegacyMulConverter) to convert your files to MUL format.

### Code

[](#code)

Once your MUL files are placed, in your PHP script use the class `PaperdollBuilder` to customize the paperdoll of your character. You can use a fluent interface to change the name, title, skin hue, race, gender, and add items.

Finally, get an instance of the `PaperdollDrawer` class configured with your Ultima Online client files, and use it to draw the paperdoll you just built.

You will get an image `resource` which you can use the way you want.

```
$drawer = PaperdollDrawer::with('/path/to/uofiles');

$paperdoll = PaperdollBuilder::create('Lord Semerkhet')
    ->withTitle('Legendary Developer')
    ->withItem(new Item(9860, 1109, Layer::NECK)) // Hooded shroud of shadows
    ->build();

$paperdollImage = $drawer->drawPaperdoll($paperdoll);
imagepng($paperdollImage, 'mypaperdoll.png'); // save to png file
```

You can find more examples in the [examples](./example/) directory.

Contributing
------------

[](#contributing)

Please feel free to report any bug you find, or submit a pull request with new features, bug fixes, etc.

License
-------

[](#license)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

3135d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/71c7923541947dfebc30b2ea5dfb21bde52d90eaf1f56821dc4200fd1153405b?d=identicon)[ppardalj](/maintainers/ppardalj)

---

Tags

ultima onlineultimapaperdoll

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ppardalj-ultima-paperdoll-drawer-php/health.svg)

```
[![Health](https://phpackages.com/badges/ppardalj-ultima-paperdoll-drawer-php/health.svg)](https://phpackages.com/packages/ppardalj-ultima-paperdoll-drawer-php)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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