Zend Framework 2 helper for Sublime Text editor that helps automate the creation of new modules, controllers and actions.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
zf2-helper
.gitignore
Context.sublime-menu
README.md
Side Bar.sublime-menu
zf2-helper.py
zf2helper-action.sublime-snippet
zf2helper-controller.sublime-snippet
zf2helper-form.sublime-snippet
zf2helper-model.sublime-snippet
zf2helper-modeltable.sublime-snippet

README.md

 __________ ____  _   _      _                 
|__  /  ___|___ \| | | | ___| |_ __   ___ _ __ 
  / /| |_    __) | |_| |/ _ \ | '_ \ / _ \ '__|
 / /_|  _|  / __/|  _  |  __/ | |_) |  __/ |   
/____|_|   |_____|_| |_|\___|_| .__/ \___|_|   
                              |_|              

Introduction

Sublime Text Plugin: Zend Framework 2 (ZF2) Helper

The ZF2 Helper provides some useful functions to speed up the development of ZF2 applications. It adds options to both the side bar menu and the edit are context menu.

Current Features:

  • Create a new ZF2 module which will include:
    • Module directory structure
    • Module config
    • Module Bootstrap
    • Standard template Controller
    • Standard template view file
  • Create a new ZF2 Controller action

More info at pipe-devnull.com

Installation

Install via package_control

How to use

Create a new ZF2 Module:

Create an entirely new ZF2 module with 1 click rather than copying, pasting, renaming all files individually. Much quicker:)

  • In the side bar, right click in the modules folder and select "ZF2 Helper" -> "New ZF2 Module"
  • Input the name of the new module
  • Add the name of the module into the main ZF2 Application configuration file

Create a new ZF2 Controller Action:

Adds sample MVC action code into the controller file and created a new view file in the view directory.

  • Open up a ZF2 MVC controller file
  • Right click in the file where you want to add a new action.
  • Select "ZF2 - New Controller Action"
  • Enter the name of the action in the prompt

Snippets

Plugin includes additional snippets useful for ZF2 development:

  • New Action - tab trigger 'action'

Copyright (c) 2012 Adrian Bruce ade@pipe-devnull.com