Giter VIP home page Giter VIP logo

generator's Introduction

Generator - Very Pre-Alpha Proceed with Caution

"Travis CI Build Status"

Codeship CI Status

Generator is a code generation tool written in PHP. You write templates in PHP but the output can be in any language you desire. You can create ORM layers, administration interfaces, or full CRUD applications.

Generator currently supports MySql but in time should support a number of different relational datasources.

Installation

To install Generator, run the following command from the directory you would like to install Generator:

curl -sSL https://github.com/dclaysmith/generator/releases/v0.1.1/2843/installer | php

Or download generator.phar from the most current release and run:

php generator.phar

Usage

Run Generator:

$ php generator.phar

Workflow

Generator is very useful when starting a new project. I maintain a bootstrap project (link) in my github repository. To begin, I clone my bootstrap repo:

git clone https://github.com/dclaysmith/bootstrap.git

I then run Composer to download any dependencies:

composer.phar install

After creating my initial database, I update my generator.json with the database credentials and run Generator:

generator.phar

Of course database schemas tend to change. If it does, I simply re run the "generate" command.

generator's People

Contributors

dclaysmith avatar

Watchers

 avatar James Cloos 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.