Skip to content

⚡ A tool for generating PHP entities and form data classes, built on PHP 8.3 and Nette Framework.

License

Notifications You must be signed in to change notification settings

drago-ex/generator

Repository files navigation

Drago Generator

This tool generates entities and form data for your applications. It is built on PHP 8.3 and provides a simple interface for creating classes and using them in your projects.

License: MIT PHP version Tests Coding Style CodeFactor Coverage Status

Requirements

  • PHP 8.3 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

About

⚡ A tool for generating PHP entities and form data classes, built on PHP 8.3 and Nette Framework.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages