valheyria-studio / design-pattern-bundle
v0.1.0
2023-08-23 20:27 UTC
Requires
- php: >=8.2
- symfony/framework-bundle: ^6.3
This package is not auto-updated.
Last update: 2025-01-10 01:28:22 UTC
README
Installation
composer require valheyria-studio/design-pattern-bundle
Configuration
The bundle comes with a sensible default configuration, which is listed below. You can define these options if you need to change them:
# config/packages/design_pattern.yaml
design_pattern:
components:
path: 'src/Component'
# TODO: Remove namespace : Can be determined from the path
namespace: 'App\Component'
Usage
Console command are defined in namespace : desing-pattern
and can be run with : bin/console design-pattern:<command>
Command List
Command | Description |
---|---|
dto | Generate DTO class from input you send or based from external class |
Contribution
WIP