sayuprc/arch-scaffy
最新稳定版本:0.1.1
Composer 安装命令:
composer require sayuprc/arch-scaffy
包简介
Scaffolding tool that generates boilerplate code for layered architecture projects from YAML configuration
README 文档
README
Arch Scaffy is a CLI tool that generates boilerplate code for PHP projects using recommended architectural structures.
You can quickly set up Layered Architecture, Clean Architecture, Domain-Driven Design (DDD), and more, with best practices out of the box.
Requirements
| name | version |
|---|---|
| PHP | ^8.4 |
Installation
composer require --dev sayuprc/arch-scaffy
Usage
Initialize
./vendor/bin/scaffy init
After running the init command, the directories scaffy.config.yaml and scaffy.blueprint.yaml will be generated.
Generate codes
./vendor/bin/scaffy generate
Configuration
If you are using VSCode, you can enable YAML autocompletion by adding the following settings to your .vscode/settings.json file:
{
"yaml.schemas": {
"./vendor/sayuprc/arch-scaffy/resources/schema/config.schema.json": "scaffy.config.yaml",
"./vendor/sayuprc/arch-scaffy/resources/schema/blueprint.schema.json": "scaffy.blueprint.yaml",
}
}
With this configuration, VSCode provides schema-based autocompletion and validation for YAML files.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-15