Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

v1.5.8 Fs CLI for generate module

ve3 edited this page Nov 23, 2014 · 1 revision

To access Fs CLI, use command line and go to your project. For example cd c:\wwwroot\

Use this command to generate a whole module.

php fs generate MyModuleName

This will generate module with front-end controller, admin controller with add/edit/index/multiple methods, language files, config routes, views, admin define permission file, module description file.

MyModuleName is your desired module name. This module name must be StudlyCaps case as specified in PSR-1

Now, start writing your code with this module.