Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hexagonal Maker Bundle Laravel Package

adrienlbt/hexagonal-maker-bundle

Symfony MakerBundle extension that scaffolds Hexagonal Architecture use cases. Generates a UseCase class plus Request/Response DTOs and a Presenter interface in a clean Domain folder structure, with optional configurable layer paths.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Adopting Hexagonal Architecture (Ports & Adapters): Accelerates implementation of clean separation between domain logic, application layer, and infrastructure, reducing technical debt and improving maintainability.
  • Developer Productivity: Reduces boilerplate code for use cases, requests, responses, and presenters, allowing teams to focus on business logic rather than scaffolding.
  • Consistent Architecture Enforcement: Enforces standardized directory structures and naming conventions, ensuring alignment across teams and reducing onboarding friction.
  • Symfony Ecosystem Integration: Leverages Symfony Maker Bundle’s familiarity, lowering the learning curve for teams already using Symfony.
  • Roadmap for Modularity: Supports future-proofing by making it easier to swap infrastructure (e.g., databases, APIs) without touching domain logic.
  • Build vs. Buy: Justifies building (customizing) over buying a full-fledged framework, as this package provides scaffolding without locking teams into a monolithic solution.

When to Consider This Package

  • Not for Greenfield Projects Without Hexagonal Needs: If your project doesn’t require strict separation of concerns (e.g., simple CRUD apps), the overhead may not be justified.
  • Teams Unfamiliar with Symfony Maker: Requires basic comfort with Symfony CLI and Maker Bundle; steep learning curve for non-Symfony teams.
  • Custom Architecture Requirements: If your team uses non-standard Hexagonal layer names (e.g., "UseCases" instead of "Application"), the default paths may need heavy customization.
  • Limited Use Case Complexity: Best for medium-to-large applications; overkill for microservices or event-driven architectures where use cases may be handled differently.
  • Alternative Tools Exist: If your team prefers Laravel’s own scaffolding (e.g., make:controller --resource) or other generators (e.g., API Platform), evaluate trade-offs in maintainability.
  • Low Maturity Risk: With only 3 stars and no dependents, assess long-term viability (e.g., is the maintainer active? Does it align with Symfony’s roadmap?).

How to Pitch It (Stakeholders)

For Executives/Business Leaders

"This package automates the repetitive setup of Hexagonal Architecture in Symfony, letting our dev team focus on delivering features faster while keeping the codebase clean and adaptable. It’s like giving them a ‘starter kit’ for scalable, maintainable applications—reducing long-term tech debt and making it easier to swap out infrastructure (e.g., databases, APIs) as needs change. Think of it as a productivity boost for building robust, future-proof systems."

Key Outcomes:

  • Faster development cycles for complex features.
  • Lower risk of technical debt from inconsistent architecture.
  • Easier onboarding for new hires due to standardized structure.

For Engineering Teams

"This extends Symfony Maker to generate Hexagonal Architecture boilerplate—use cases, requests, responses, and presenters—in one command. No more manually creating these files or debating directory structures. It’s opinionated but flexible (customizable paths), and it plays nicely with existing Symfony workflows. Perfect for teams already using Symfony and looking to enforce clean architecture without reinventing the wheel."

Why Use It?

  • Saves Time: Generates 4+ classes per use case in seconds.
  • Enforces Best Practices: Standardizes where domain logic, API contracts, and infrastructure live.
  • Low Friction: Works with existing Symfony projects; no major refactoring needed.
  • Extensible: Can tweak paths or add custom templates later.

Trade-offs:

  • Requires buy-in to Hexagonal Architecture (but worth it for non-trivial apps).
  • Minimal docs; may need internal runbooks for advanced use.

Call to Action: "Let’s pilot this on [Project X] to see how it speeds up development. If it works, we can roll it out across the codebase."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel