Skip to content
/ ZFTool Public
forked from zendframework/ZFTool

Utility module for maintaining modular Zend Framework 2 applications.

Notifications You must be signed in to change notification settings

lukenm/ZFTool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zend Framework 2 Tool

ZFTool is an utility module for maintaining modular Zend Framework 2 applications.

Features

  • Class-map generator
  • Listing of loaded modules

Requirements

  • Zend Framework 2.0.0 or later.
  • PHP 5.3.3 or later.
  • Console access to the application being maintained (shell, command prompt)

Installation using Composer

  1. Open console (command prompt)
  2. Go to your application's directory.
  3. Run composer require zendframework/zftool:dev-master

Manual installation

  1. Clone using git or download zipball.
  2. Extract to vendor/ZFTool in your ZF2 application
  3. Edit your config/application.config.php and add ZFTool to modules array.
  4. Open console and try one of the following commands...

Usage

Basic information

zf.php modules [list]           show loaded modules
zf.php version | --version      display current Zend Framework version

Classmap generator

zf.php classmap generate <directory> <classmap file> [--append|-a] [--overwrite|-w]

<directory>         The directory to scan for PHP classes (use "." to use current directory)
<classmap file>     File name for generated class map file  or - for standard output. If not supplied, defaults to
                    autoload_classmap.php inside <directory>.
--append | -a       Append to classmap file if it exists
--overwrite | -w    Whether or not to overwrite existing classmap file

Todo

  • Module maintenance (installation, configuration, removal etc.)
  • Inspection of application configuration.
  • Deploying zf2 skeleton applications.
  • Reading and writing app configuration.

About

Utility module for maintaining modular Zend Framework 2 applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%