Introduction

Document Navigation

Introduction

Working with modules

This tutorial will walk you through creating a module for your project ‘example’. This module will be used to make tables for your database. The tutorial will then show you how to add information to theses tables that can then be accessed by your site.

Cmfive modules consist of a fixed structure and are located in the boilerplate modules folder. To get started you can either create a module repository directly in the cmfive-boilerplate/modules folder or create a symbolic link to your external module repository. The module name must be all lower case and must match the name in the module config and service class. This will be explained further.

To start your module create a new folder called ‘example’ in cmfive-boilerplate/modules. Your next step will be to generate the module config file. Click next to see these instructions.