generators/php


id: generator-opts-client-php title: Config Options for phpsidebar_label: php


OptionDescriptionValuesDefault
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
modelPackagepackage for generated modelsnull
apiPackagepackage for generated api classesnull
variableNamingConventionnaming convention of variable name, e.g. camelCase.snake_case
invokerPackageThe main namespace to use for all classes. e.g. Yay\Petsnull
packageNameThe main package name for classes. e.g. GeneratedPetstorenull
srcBasePathThe directory to serve as source root.null
artifactVersionThe version to use in the composer package version field. e.g. 1.2.3null
hideGenerationTimestampboolean, toggles whether unicode identifiers are allowed in names or not, default is falsetrue