OpenAPITools / OpenAPITools/openapi-generator

[REQ][php-slim4] Add Doctrine ORM as optional feature

Open
#9,064 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature Server: PHP
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Is your feature request related to a problem? Please describe.

I was able to pair current Slim4 server codegen with Doctrine ORM so it make sense to add it as optional feature.

Describe the solution you'd like

Add codegen ENUM option orm=doctrine|none and generate different models.

Describe alternatives you've considered

Eloquent ORM may fit even better with Slim(at least it was mentioned in official ver. 3.x docs), but I never used it.

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the php-slim4 server codegen and its current model templates. Review existing generator tests, then trace how codegen options are defined and rendered. Done means the orm=doctrine|none modes generate the intended models while preserving the existing default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.