driessenstijn / entity-generator
This is a simple form that will give you the necessary files that you need for entities, such as a zf2 application
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/driessenstijn/entity-generator
Requires
- php: >5.3.0
This package is not auto-updated.
Last update: 2025-10-04 01:57:48 UTC
README
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;