gfaust-qb/skeleton-module-zf1-app

骨架用于设置zendframework 1模块,如zend framework 1参考中所述。

dev-master 2017-06-07 12:57 UTC

This package is not auto-updated.

Last update: 2024-09-29 02:07:58 UTC


README

骨架用于设置zendframework 1模块,如https://framework.zend.com/manual/1.12/en/project-structure.filesystem.html中所述。

建议的结构

  • configs/
    • application.ini.dist
  • controllers/
    • helpers/
  • forms/
  • layouts/
    • filters/
    • helpers/
    • scripts/
  • models/
  • services/
  • views/
    • filters/
    • helpers/
    • scripts/
  • Bootstrap.php
  • CHANGELOG.md
  • LICENSE
  • README.md (此文件)
  • composer.json

用法

  1. 使用此composer包为您模块创建基本结构。
  2. Bootstrap.php 中更新类名,使其与您的模块名称一致。

注意

您还可以像Using Zend_Tool On The Command Line中描述的那样,使用CLI中的Zend_Tool进行此操作。相关命令是: zf create module <MODULENAME>