Skip to main content

Writing Modules

Folder Structure

app/Modules/
└── <your-module>/
├── _module.json
└── <your-module>ModuleProvider.php

Module Manifest

The module manifest holds details within the module such as name, description, author, version_id, and version.

Example module manifest:

{
"name": "Debug",
"description": "Allows for in-depth remote debugging",
"author": "LegendEffects",
"version": "1.0.0",
"version_id": 1
}

Loading

Modules aren't auto-loaded and instead need to be loaded through an app-native provider or environment variables.

The best documentation is the existing modules