PHPackages                             mxcro/makermaker-core - 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. [Framework](/categories/framework)
4. /
5. mxcro/makermaker-core

ActiveLibrary[Framework](/categories/framework)

mxcro/makermaker-core
=====================

Core library for scaffolding TypeRocket CRUD applications

144PHP

Since Jan 21Pushed 3mo agoCompare

[ Source](https://github.com/prospect-ogujiuba/makermaker-core)[ Packagist](https://packagist.org/packages/mxcro/makermaker-core)[ RSS](/packages/mxcro-makermaker-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MakerMaker Core
===============

[](#makermaker-core)

Core library for scaffolding TypeRocket CRUD applications in WordPress.

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

[](#installation)

```
composer require mxcro/makermaker-core
```

Usage
-----

[](#usage)

### Creating a Client Plugin

[](#creating-a-client-plugin)

Use the `maker:client` command to scaffold a new client plugin:

```
php galaxy maker:client "Client Name" --slug=client-slug --org=your-org
```

This creates a thin plugin with:

- Composer dependency on makermaker-core
- Bootstrap with `Boot::init()`
- Client service provider
- Config overrides
- Modules and resources directories

### Manual Setup

[](#manual-setup)

1. **Require in composer.json:**

```
{
  "require": {
    "mxcro/makermaker-core": "^1.0"
  }
}
```

2. **Bootstrap in plugin.php:**

```
require __DIR__ . '/vendor/autoload.php';

add_action('plugins_loaded', function () {
    \MakerMaker\Boot::init([
        'plugin_dir' => __DIR__,
        'plugin_url' => plugin_dir_url(__FILE__),
        'modules_path' => __DIR__ . '/modules',
        'config_path' => __DIR__ . '/config',
        'views_path' => __DIR__ . '/resources/views',
    ]);

    \YourNamespace\Providers\ClientServiceProvider::register();
}, 20);
```

3. **Create ClientServiceProvider:**

```
namespace YourNamespace\Providers;

class ClientServiceProvider
{
    public static function register(): void
    {
        add_filter('makermaker/config', [self::class, 'configOverrides'], 10, 2);
        self::loadResources();
    }

    public static function configOverrides(array $config, array $paths): array
    {
        // Override config
        return $config;
    }

    protected static function loadResources(): void
    {
        // Load TypeRocket resources
    }
}
```

Features
--------

[](#features)

### CRUD Generation

[](#crud-generation)

Generate complete CRUD with Model, Controller, Policy, Fields, Views, and Resources:

```
php galaxy make:crud Product --template=standard
php galaxy make:crud Order --module=shop --template=api-ready
```

### Module Discovery

[](#module-discovery)

Automatically loads modules from configured path:

```
modules/
├── shop/
│   ├── module.php
│   ├── module.json
│   ├── Models/
│   ├── Controllers/
│   └── resources/

```

### Template Variants

[](#template-variants)

Three built-in variants:

- `simple`: Basic CRUD without REST endpoints
- `standard`: Full CRUD with admin interface
- `api-ready`: CRUD with REST API endpoints

### Configuration

[](#configuration)

Override via `config/makermaker.php`:

```
return [
    'templates' => [
        'default_variant' => 'api-ready',
    ],
    'crud' => [
        'default_module' => null,
    ],
];
```

Architecture
------------

[](#architecture)

**Core Library (this package):**

- Commands (`make:crud`, `maker:client`)
- Helpers (String, Database, Validation, etc.)
- Templates (simple, standard, api-ready)
- Module discovery
- Config management
- Boot initialization

**Client Plugins:**

- Models, Controllers, Policies, Fields
- Modules with domain logic
- TypeRocket resources
- Views
- Client-specific config

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

[](#requirements)

- PHP ^8.2
- TypeRocket Pro v6
- WordPress 5.9+

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance53

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/31391f9ead8fea05144e06e31d0178a5d8497bfef66b3f00d65779635a885463?d=identicon)[prizthecreator](/maintainers/prizthecreator)

---

Top Contributors

[![prospect-ogujiuba](https://avatars.githubusercontent.com/u/114182373?v=4)](https://github.com/prospect-ogujiuba "prospect-ogujiuba (40 commits)")

### Embed Badge

![Health badge](/badges/mxcro-makermaker-core/health.svg)

```
[![Health](https://phpackages.com/badges/mxcro-makermaker-core/health.svg)](https://phpackages.com/packages/mxcro-makermaker-core)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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