承接 marcosroigdev/ddd-forge 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marcosroigdev/ddd-forge

最新稳定版本:v0.1.0

Composer 安装命令:

composer require marcosroigdev/ddd-forge

包简介

Scaffolding tool for DDD & Hexagonal Architecture in PHP

README 文档

README

DDD-Forge social preview

DDD-Forge ⚒️

CI PHP License Packagist Version Packagist Downloads

DDD-Forge is a scaffolding tool for Domain-Driven Design and Hexagonal Architecture in PHP.
Generate clean code, bounded contexts, aggregates, value objects, and use cases with a single command.

🚧 Work in Progress – expect rapid changes.

✨ Features

  • ✅ Initialize hexagonal project structure (init)
  • ⏳ Generate bounded contexts (make:context)
  • ⏳ Create aggregates, value objects and domain events
  • ⏳ Generate use cases and ports
  • ⏳ Symfony & Laravel recipes
  • ⏳ Test scaffolding

🚀 Installation

Require the package in your project (soon available via Packagist):

composer require --dev marcosroigdev/ddd-forge

Requires PHP >= 8.2.

📦 Usage

Run the CLI:

# Using composer script
composer run forge -- init

# Or directly
bin/ddd-forge init

This will generate the base folder structure:

src/
├── Domain
│   └── (Aggregates, ValueObjects, DomainEvents)
├── Application
│   └── (UseCases, Ports)
├── Infrastructure
│   └── (Repositories, Adapters)
└── UI
└── (CLI, HTTP, etc.)

🤝 Contributing

Contributions, ideas and feedback are welcome! Please check CONTRIBUTING.md

📜 License

Released under the MIT License.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-27