定制 ebdsystems/archflow 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ebdsystems/archflow

Composer 安装命令:

composer require ebdsystems/archflow

包简介

Laravel architecture scaffold and lint package

README 文档

README

Package for Laravel module scaffold and architecture validation.

Install

composer require ebdsystems/archflow
php artisan archflow:install
php artisan archflow:doctor --strict

archflow:install also publishes tenant runtime support and starter quality-gate tests:

  • app/Support/Tenant/TenantContextStore.php
  • app/Models/Concerns/HasTenantScope.php
  • app/Domain/Shared/Tenant/TenantContext.php
  • tests/Feature/Archflow/ArchflowDoctorTest.php
  • tests/Feature/Archflow/ArchflowLintReportTest.php
  • tests/Feature/Archflow/ArchflowSyncDocsTest.php
  • tests/Unit/Domain/Shared/TenantContextTest.php
  • tests/Unit/Domain/Shared/TenantContextStoreTest.php

Recommended Sequence (Install and Use)

1. Validate bootstrap

php artisan archflow:doctor --strict
php artisan archflow:sync-docs-check --strict

2. Generate module scaffold

php artisan make:module Product
php artisan make:module Product --force

3. Validate architecture and reports

php artisan arch:lint
php artisan arch:lint --report-json
php artisan arch:lint --report-path=tools/architecture/lint-report-ci.json --report-json
php artisan archflow:metrics
php artisan archflow:pr-gate --strict

4. Run complete pipeline

php artisan archflow:run
php artisan archflow:run --ci
php artisan archflow:run --full-tests
php artisan archflow:run --skip-install --skip-tests
php artisan archflow:run --pr-gate-baseline-context=main --update-pr-gate-baseline

Composer shortcuts:

composer archflow:run
composer archflow:ci

5. Safe rollback

php artisan make:module:rollback Product --dry-run
php artisan make:module:rollback Product
php artisan make:module:rollback Product --force

6. Async domain events worker (optional)

php artisan domain-events:work --queue=domain-events --tries=5 --backoff=5

Commands

  • php artisan archflow:install
  • php artisan archflow:doctor
  • php artisan archflow:sync-docs-check
  • php artisan archflow:metrics
  • php artisan archflow:adr:auto
  • php artisan archflow:pr-gate
  • php artisan domain-events:work
  • php artisan archflow:run
  • php artisan make:module Product
  • php artisan make:module Product --force
  • php artisan make:module:rollback Product --dry-run
  • php artisan make:module:rollback Product
  • php artisan make:module:rollback Product --force
  • php artisan arch:lint

Lint report JSON

php artisan arch:lint --report-json
php artisan arch:lint --report-json --report-path=tools/architecture/lint-report-ci.json

Pipeline options

php artisan archflow:run
php artisan archflow:run --ci
php artisan archflow:run --full-tests
php artisan archflow:run --tests-path=tests/Feature/Archflow
php artisan archflow:run --skip-install --skip-tests
php artisan archflow:run --skip-metrics --skip-adr --skip-pr-gate
php artisan archflow:run --pr-gate-baseline-context=main --update-pr-gate-baseline
composer archflow:run
composer archflow:ci

Default archflow:run stages

  1. archflow:install
  2. archflow:doctor
  3. archflow:sync-docs-check
  4. arch:lint --report-json
  5. archflow:metrics
  6. archflow:adr:auto
  7. archflow:pr-gate
  8. test

Generated reports

  • tools/architecture/lint-report.json
  • tools/architecture/metrics.json
  • tools/architecture/pr-gate-report.json
  • tools/architecture/pr-gate-baselines/-.json
  • docs/adr/*_archflow_pipeline.md

Estrutura

  • src/
  • config/
  • stubs/
  • tools/
  • docs/

Release

  • Changelog: CHANGELOG.md
  • License: LICENSE
  • Checklist: docs/release-checklist.md

Usage Manual

For a full operational guide (install, create modules, test modules, delete modules, and rename modules):

  • docs/scaffold/module-usage-manual.md

ebdsystems/archflow 适用场景与选型建议

ebdsystems/archflow 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 22 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「linter」 「scaffold」 「laravel」 「architecture」 「quality-gate」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 ebdsystems/archflow 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 ebdsystems/archflow 我们能提供哪些服务?
定制开发 / 二次开发

基于 ebdsystems/archflow 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-04-09