2017 © Pedro Peláez
 

library groundwork

CLI tool for code generation from templates

image

dancras/groundwork

CLI tool for code generation from templates

  • Monday, March 11, 2013
  • by dancras
  • Repository
  • 1 Watchers
  • 2 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Groundwork

CLI tool for code generation from templates., (*1)

Rather than providing code generation of classes to someone elses standard, groundwork gives you a tool to set up and use your own project specific code generation templates., (*2)

Install with composer., (*3)

{
    "require-dev": {
        "dancras/groundwork": "*"
    }
}

Add a .groundwork folder to your project. Each subfolder is a groundwork "template". The only requirement is a run.php file., (*4)

To generate the code:, (*5)

vendor/bin/groundwork create %template% "%fully qualified class%"

See the .groundwork folder of this project for a class generation example. Clone the project and try it out:, (*6)

bin/groundwork create class "MyVendor\MyProject\MyClass"    

The Versions

11/03 2013

dev-master

9999999-dev http://dancras.co.uk

CLI tool for code generation from templates

  Sources   Download

MIT

The Requires

 

The Development Requires

by Daniel Howlett

cli code generation

11/03 2013

1.0.0

1.0.0.0 http://dancras.co.uk

CLI tool for code generation from templates

  Sources   Download

MIT

The Requires

 

The Development Requires

by Daniel Howlett

cli code generation