cceconi / hexa-generator
Binary to generate hexagonal architecture compliant classes for hexa-lib
1.0.2
2025-01-20 17:44 UTC
Requires
- php: >=7.4
- cceconi/hexa-lib: ^1.0
- symfony/console: ^5.4
Requires (Dev)
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2026-03-20 20:10:32 UTC
README
Binary to generate hexagonal architecture compliant classes for hexa-lib
List of availables commands
Generate all classes for one use case and optionally roles
$ bin/hg hexa:generate:use-case $ bin/hg hexa:generate:use-case MyBusinessTheme TestMyCommand "src\Domain" "MyApp\Domain"
Generate a class role and optionally anothers roles
$ bin/hg hexa:generate:role $ bin/hg hexa:generate:role Admin "src\Domain" "MyApp\Domain"
Todo
- Other classes (Filters, Presenters, etc.)
- Tests ?