switon/orm-codegen

Entity and repository code generation from database tables for Switon Framework

Maintainers

Package info

github.com/switon-php/orm-codegen

Documentation

pkg:composer/switon/orm-codegen

Statistics

Installs: 0

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v1.0.0 2026-06-06 13:43 UTC

This package is auto-updated.

Last update: 2026-06-07 05:18:03 UTC


README

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.