metamods/php-modpack-builder

Minecraft modpack MetaMods like format builder

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/metamods/php-modpack-builder

1.0.1 2025-11-15 19:14 UTC

This package is not auto-updated.

Last update: 2025-11-15 19:14:46 UTC


README

Minecraft modpack MetaMods like format builder.

Requirements

Installation

Use composer to install this package:

composer require metamods/php-modpack-builder

Usage

Create instance of Modpack:

use MetaMods\Modpack;

$modpack = Modpack::create($name, $version, $summary);

Pass name of your modpack, optional version and optional summary as description.

To add some resource use next:

use MetaMods\Resources\Mod;

$modpack->add(new Mod('ae2'));

If you want to add multiple resources:

$modpack->add([
    new Mod('ae2'),
    new Mod('industrial-craft')
]);

And then build your modpack:

$modpack->build();

Supported resource types

Mods

use MetaMods\Resources\Mod;

$mod = new Mod('ae2');

You can find the entire mod catalog on MetaMods.