sayuprc/arch-scaffy

Scaffolding tool that generates boilerplate code for layered architecture projects from YAML configuration

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/sayuprc/arch-scaffy

0.1.1 2025-12-16 03:31 UTC

This package is auto-updated.

Last update: 2025-12-31 17:01:59 UTC


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.