Module Developer Resources#
Welcome to the Module Developer Resources hub for Miva Merchant. This landing page brings together everything you need to understand, build, and ship custom modules that extend the power of the Miva platform.
Module Development#
Step-by-step guide to structuring, configuring, and packaging a module from scratch.
A complete walkthrough of creating a basic module, illustrating best practices and real-world patterns.
Module Ecosystem#
Similar to compiled languages like C++, Miva Script is compiled into machine-readable bytecode. The Compiler processes Miva Script files, producing compiled files that can be executed by the Miva engine.
The Limited Source Kit (LSK) is a valuable resource for developers building Miva Merchant Modules.
Miva Script Language#
Miva Script is a lightweight C‑style scripting language built into modules, offering comments, variables, expressions, operators, control flow (if/else, loops, exit), data structures (arrays, structs), database access (MivaSQL, MySQL, Redis), and over 100 built‑in commands for tasks like queries, session handling, crypto, logging, and dynamic image generation (e.g., gdImageStringFT). It lets you implement everything from simple business rules to complex integrations in a concise, maintainable way.
Module API & UI Documentation#
-
Reference for the Miva Module API, covering endpoints, hooks, and data models.
-
Module UI Components: