Module Structure - Recommended Project Structure for Zend Framework MVC Applications

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/
  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.


© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.