Backend Generation
Laravel models, migrations, controllers, services, routes, and seeders — all from config.
Laravel + Vue 3 + NativePHP Mobile — generate full-stack modules from a single config array.
Install via Composer:
composer require blutrixx/generator-engine:^2.0Bootstrap PathManager (a static service-locator — all setters are static, there is no constructor), build a config array (or introspect from DB), then call any generator:
use Blutrixx\GeneratorEngine\Generators\PathManager;
use Blutrixx\GeneratorEngine\Generators\Backend\Models\ModelGenerator;
PathManager::setProjectRoot($outputPath);
PathManager::setProjectContext($projectContext);
(new ModelGenerator($moduleName, $moduleGroup, $moduleConfig))->generate();| Section | What it covers |
|---|---|
| Examples | Task-oriented recipes — "I want to build X, what do I write?" Every recipe backed by a real, generated-and-verified fixture. |
| Module Config | Top-level config structure — all keys, menu_config, seeder, constants |
| Columns | Column types, FK columns, morph pairs, featureSelections, field type mapping |
| Features Config | features.backend and features.frontend per-operation config |
| Mobile Config | features.mobile_app config, card layout, offline sync |
| Delegations | Related-module tab/modal panel config |
| Actions | Custom action buttons and service config |
| Processors | Lifecycle pipeline hooks (before/after save/delete) |
| Scaffold Blueprint | Blueprint JSON for make:modules-from-db |
| UX Blueprint | Blueprint for make:ux-from-blueprint — composites, wizards, shortcuts |
Machine-readable schemas for editor validation and autocompletion (VS Code, IntelliJ, etc.) are bundled with the package at vendor/blutrixx/generator-engine/schema/:
module-config.schema.jsonscaffold-blueprint.schema.jsonux-blueprint.schema.json