Skip to content

Architecture Overview

simitben edited this page Apr 9, 2026 · 1 revision

Architecture Overview

Why V3 Is Independent

Legacy API is action-based and tightly coupled. V3 is implemented as a separate layer under apiv3/.

High-Level Components

  • api_v3.php entrypoint
  • apiv3/Core (request/response/router/module loader)
  • apiv3/Auth (token guard)
  • modules/*/apiv3 (self-contained module registration and implementation)

Module Isolation

Each module owns:

  • routes (module.php)
  • controllers
  • repositories
  • requests/services/resources/tests (expanding)

Pilot

Business Partner is the first pilot module.

Clone this wiki locally