PHPackages                             tohmua/mr-oak - 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. tohmua/mr-oak

ActiveLibrary

tohmua/mr-oak
=============

v0.3.1(9y ago)013.9kPHP

Since May 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Tohmua/MrOak)[ Packagist](https://packagist.org/packages/tohmua/mr-oak)[ RSS](/packages/tohmua-mr-oak/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (8)Dependencies (5)Versions (9)Used By (0)

MrOAK
=====

[](#mroak)

Create base modules or other file structures based on templates. Similar to Laravel's Artisan command however templates are not tied to a specific framework and are intended to be specific for a projects needs.

When you run MrOAK you are required to supply two parameters.

**Template**: A path to ``. This can either be an absolute path or the name of a package in the vendor directory.

**Module Path**: A path to where you wish your new module to reside.

MrOAK will then take everything in the `` directory and copy it to the `path/to/new/module`.

Whilst doing this it will replace references in your template files and file names to both `{Namespace}` and `{Module}` with the values supplied to MrOAK.

### Install

[](#install)

```
composer require tohmua/mr-oak
composer require

```

### Parameters

[](#parameters)

ArgumentsDescription`Template`The name or path to the template you wish to use`Module Path`Path where you wish the new module to resideOptionsDescription`--namespace`Namespace for the module### Usage

[](#usage)

```
vendor/bin/MrOak create -h

```

```
vendor/bin/MrOak create --namespace="YourProject\\" " path/to/new/module

```

**Note**: It is recommended that you alias this in your composer.json file as a script. In most use cases things like the template and namespace will not need to change so they can be omitted via an alias. e.g.

```
"scripts": {
    "create-module": [
        "vendor/bin/MrOak create --namespace Acme\\\\  "
    ]
}
```

You can then just run `composer create-module src/NewModule`

### Templates

[](#templates)

`` can either be the path to a directory e.g. `vendor/my-template/module` or the composer name e.g. `my-template/module`.

MrOAK will take a copy of everything in that directory replacing references to both `{Namespace}` and `{Module}` in files and file names with the config supplied.

### Examples

[](#examples)

- [SLIM Framework](https://github.com/tohmua/MrOak-SLIM)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

8

Last Release

3309d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ce79df0056efb1bb9aa3eb36ed02d188af7cdfd2473647162dbf299df47ccb1?d=identicon)[Tohmua](/maintainers/Tohmua)

---

Top Contributors

[![Tohmua](https://avatars.githubusercontent.com/u/6814384?v=4)](https://github.com/Tohmua "Tohmua (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tohmua-mr-oak/health.svg)

```
[![Health](https://phpackages.com/badges/tohmua-mr-oak/health.svg)](https://phpackages.com/packages/tohmua-mr-oak)
```

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[eliashaeussler/cache-warmup

Composer package to warm up website caches, based on a given XML sitemap

75419.2k9](/packages/eliashaeussler-cache-warmup)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[eliashaeussler/typo3-solver

Solver - Extends TYPO3's exception handling with AI generated solutions. Problems can also be solved from command line. Several OpenAI parameters are configurable and prompts and solution providers can be customized as desired.

302.1k](/packages/eliashaeussler-typo3-solver)

PHPackages © 2026

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