Skip to content

drago-ex/generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drago Generator

Generating entities and form data.

License: MIT PHP version Tests Coding Style CodeFactor Coverage Status

Requirements

  • PHP 8.1 or higher
  • composer

Installation

composer require drago-ex/generator

Extension registration

extensions:
	generator: Drago\Generator\DI\GeneratorExtension

Generator settings

All settings of entities and data form can be found in Options.php

https://github.com/drago-ex/generator/blob/master/src/Drago/Generator/Options.php#L19

Console commands

Command Description
make:entity Generates all entities.
make:entity table Generates one entity according to the table name.
make:dataClass Generates all form data.
make:dataClass table Generates one form data according to the table name.

Prepared package for generator

https://github.com/drago-ex/generator-cli