Skip to content

Zend Framework 2 helper for Sublime Text editor that helps automate the creation of new modules, controllers and actions.

Notifications You must be signed in to change notification settings

marthinmc/ZF2Helper

 
 

Repository files navigation

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

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

About

Zend Framework 2 helper for Sublime Text editor that helps automate the creation of new modules, controllers and actions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.6%
  • JavaScript 6.4%