jbarket / generator-werx

Yeomen generator for the werx PHP microframework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-werx

Yeoman generator for the werx PHP microframework.

What is Yeoman?

Trick question. It's not a thing. It's this guy:

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

npm install -g yo

How do I install this thing?

npm install -g generator-werx

Available Commands

yo werx:crud (Controller Name)

Generates skeleton CRUD including a controller, model, validator and view files.

yo werx:model (Model Name)

Generates an Eloquent model in src/models

yo werx:controller (Controller Name)

Generates a controller in src/controllers

yo werx:console (Console Controller Name)

Generates a console only controller in src/controllers

yo werx:validator (Validator Name)

Generates a validator in src/validators

About

Yeomen generator for the werx PHP microframework


Languages

Language:JavaScript 50.7%Language:PHP 45.9%Language:CSS 2.1%Language:ApacheConf 0.9%Language:HTML 0.3%Language:Shell 0.2%