Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.04 KB

File metadata and controls

31 lines (20 loc) · 1.04 KB

Switon ORM Codegen Package

Codegen CI PHP 8.3+

Switon's ORM scaffolding tool for database scans, entity and repository generation, and template overrides.

Highlights

  • Entity scanning: existing entities can be grouped by connection and table.
  • Code generation: entity and repository pairs can be generated from live database metadata.
  • Template control: apps can replace the default templates.
  • Output routing: generated files can be placed in the right app directories.
  • Class resolution: generated class names are resolved through the package helpers.

Installation

composer require --dev switon/orm-codegen

Quick Start

bash bin/console entity:make --connection=default

Docs: https://docs.switon.dev/latest/orm-codegen

License

MIT.