eva / dto-creator
Dto creator
dev-main
2023-10-18 13:05 UTC
Requires
- php: >=8.2
- eva/common: dev-main
- eva/console: dev-main
- eva/filesystem: dev-main
- symfony/yaml: ^6.1
This package is auto-updated.
Last update: 2024-09-29 23:11:41 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