Code Monkey home page Code Monkey logo

gmodule-for-zend's Introduction

#gmodule for Zend

This is a php app I've created to automate the module creation process in ZF2. Simply add the gmodule.php file to the root of the Zend skeleton application and in the terminal run:

php gmodule.php module_name

e.g., If you wanted to create the module "CatsAndDogs" you might type in:

php gmodule.php cats_and_dogs

or,

php gmodule.php CatsAndDogs

The use of snake_case is advised but CamelCase is also accepted. You may want to remove the file extension so that you can run it as php gmodule ModuleName. That's cool too, however there are still a few bugs so use at your own risk.

TODO:

  • Error handling for duplicate autoload records, &c.
  • Fix issues that occur when a module name is typed in all caps.
  • Check that files aren't being wiped when the app is stopped prematurely and handle accordingly.
  • Actually test this on something other than a Debian
  • Write actual tests for this thing(?)

gmodule-for-zend's People

Contributors

kohrvid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.