ahmed-bhs/hexagonal-maker-bundle
make:hexagonal:message-handler).KernelTestCase, WebTestCase, and CommandTester.composer require ahmedbhs/hexagonal-maker-bundle --dev.bin/console make:hexagonal:entity domain/module EntityName --aggregate-root
bin/console make:hexagonal:value-object domain/module ValueObjectName
bin/console make:hexagonal:repository domain/module EntityName
bin/console make:hexagonal:command domain/module create --factory
bin/console make:hexagonal:query domain/module find-by-id
bin/console make:hexagonal:controller domain/module Create /endpoint
bin/console make:hexagonal:message-handler domain/module CommandHandler
bin/console make:hexagonal:crud user/account --no-tests
| Component | Compatibility Notes |
|---|---|
| Symfony 6.4/7.x | Full support; leverages Symfony Maker and Flex. |
| Doctrine ORM | Generates Doctrine-compatible entities but keeps domain layer pure. |
| PHP 8.1+ | Requires PHP 8.1+ (attributes, typed properties). |
| Symfony Messenger | Supports async handlers via make:hexagonal:message-handler. |
| Custom Validation | Input DTOs support Symfony Validator constraints. |
| Event Sourcing | Not natively supported; would require custom generators or post-processing. |
| GraphQL | No built-in support; would need to manually create adapters for generated use cases. |
| API Platform | Possible but non-trivial; would require custom controller adapters. |
make:hexagonal:repository) before implementing Doctrine adapters.make:hexagonal:command, make:hexagonal:query) before controllers/forms.make:hexagonal:use-case-test) after implementing use cases.make:hexagonal:crud for rapid prototyping, then refactor for complex domains.FindUserQueryHandler).How can I help you explore Laravel packages today?