PHPackages                             retrolux/omm-php-library - 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. [API Development](/categories/api)
4. /
5. retrolux/omm-php-library

ActiveLibrary[API Development](/categories/api)

retrolux/omm-php-library
========================

Open Mod Manager PHP library for web remote repositories

v1.2.1(6mo ago)161GPL-3.0-or-laterPHPPHP &gt;=7.4

Since Feb 24Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/retroluxfilm/OMM-PHP-Library)[ Packagist](https://packagist.org/packages/retrolux/omm-php-library)[ RSS](/packages/retrolux-omm-php-library/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)DependenciesVersions (11)Used By (0)

Open Mod Manager PHP Library
============================

[](#open-mod-manager-php-library)

This is a PHP Web library to manage remote repositories for the [Open Mod Manager](https://github.com/sedenion/OpenModMan).

---

Features:
---------

[](#features)

- Generate Repository XML based on mod package sorted in a folder structure
- Ability to issue repository tasks over the command line (cron jobs etc.)
- Package and Repository object handling allowing easy extension to build it into your web frontend

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

[](#requirements)

- PHP 7.4+ (using PHP 8.1+ will speed up the library)
- ImageMagick
- DOM Extension
- SimpleXML Extension
- MBString Extension
- Zip Extension
- Fileinfo Extension

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

[](#installation)

### Composer

[](#composer)

To install with [Composer](https://getcomposer.org/), simply require the latest version of this package. Install it as a global library in case you only want to use if from the command line

```
composer global require retrolux/omm-php-library
```

Command Line options
--------------------

[](#command-line-options)

### generateFolderRepository

[](#generatefolderrepository)

Generates a networked repository from a folder structure with the contained mod archives.

**Note:**
Needs to be called within the folder that is accessible through the web server and located side by side the folder it should be looked for mod archives.

*Usage Options:*

```
OMMTask generateFolderRepository    ()
Arguments:
        xmlName                   : name and path of the repository xml
        repositoryName            : name for the repository
        packageRootPath           : root path where the mod packages are placed relative to repository xml location
        recursive                 : true if the sub folders should be processed as well (Default: true)

```

The example below will generate the `Mod Download Repository` saved into `repository.xml` scanning for the packages in the `mods` folder and subdirectories (relative to the xml).

```
OMMTask generateFolderRepository "repository.xml" "Mod Download Repository" "mods"
```

How to Contribute
-----------------

[](#how-to-contribute)

To keep this library up to date or to extend it with new tasks etc. I would be great use pull request into this repository.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance66

Regular maintenance activity

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

9

Last Release

201d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/607f54688a5f432b346670def1c399a8bc15c5ea616b991e222002b7c57fa8c8?d=identicon)[retrolux](/maintainers/retrolux)

---

Top Contributors

[![retroluxfilm](https://avatars.githubusercontent.com/u/85709777?v=4)](https://github.com/retroluxfilm "retroluxfilm (2 commits)")

---

Tags

modmanagerphp-library

### Embed Badge

![Health badge](/badges/retrolux-omm-php-library/health.svg)

```
[![Health](https://phpackages.com/badges/retrolux-omm-php-library/health.svg)](https://phpackages.com/packages/retrolux-omm-php-library)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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