eva/dto-creator

Dto creator

Installs: 37

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/eva/dto-creator

dev-main 2023-10-18 13:05 UTC

This package is auto-updated.

Last update: 2025-09-29 02:51:21 UTC


README

php ./bin/console app:dto-creator --sourcePath='config/packages/dto' --baseNamespace='App' --baseDir='src'

Created dto

schema_example.yaml

- namespace: App\Dto
  class: MyDto
  properties:
    propertyInt: int
    propertyString: string
    propertyArray: array

baseNamespace option transform App to baseDir (src) so target file path will be src/Dto/MyDto.php