Skip to content

switon-php/orm-codegen

Repository files navigation

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.

About

Entity and repository code generation from database tables for Switon Framework

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages