Recommended Project Directory Structure

Module Structure

The directory structure for modules should mimic that of the application/ directory in the recommended project structure:

  1. <modulename>
  2.     configs/
  3.         application.ini
  4.     controllers/
  5.         helpers/
  6.     forms/
  7.     layouts/
  8.         filters/
  9.         helpers/
  10.         scripts/
  11.     models/
  12.     services/
  13.     views/
  14.         filters/
  15.         helpers/
  16.         scripts/
  17.     Bootstrap.php

The purpose of these directories remains exactly the same as for the recommended project directory structure.


Recommended Project Directory Structure