driessenstijn/entity-generator

There is no license information available for the latest version (dev-master) of this package.

This is a simple form that will give you the necessary files that you need for entities, such as a zf2 application

dev-master 2016-03-07 18:15 UTC

This package is not auto-updated.

Last update: 2024-06-14 19:37:23 UTC


README

EntityGenerator

EntityGenerator will help you to create the models/entities that you require for your application. If your IDE is not supportive enough, you can simply copy paste your table columns in here.

Installation

composer require driessenstijn/EntityGenerator/

Why use EntityGenerator?

Well, if your IDE is not supportive enough you must have something else to do the dirty work.

How to use

It's simple:

  • Type: EXPLAIN in your MySQL Workbench
  • Copy the columns of name and type to your clipboard
  • Paste your clipboard and enter your table name in the form
  • Enjoy the file content that needs to be created
  • Usage example

    require_once __DIR__ . '/../vendor/autoload.php';
    
    use EntityGenerator\EntityGenerator;