PHPackages                             ebdsystems/archflow - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ebdsystems/archflow

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ebdsystems/archflow
===================

Laravel architecture scaffold and lint package

v1.2.8(1mo ago)022proprietaryPHPPHP ^8.2CI passing

Since Apr 9Pushed 1mo agoCompare

[ Source](https://github.com/RodrygoMM/archflow)[ Packagist](https://packagist.org/packages/ebdsystems/archflow)[ Docs](https://github.com/ebdsystems/archflow)[ RSS](/packages/ebdsystems-archflow/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (2)Versions (19)Used By (0)

Archflow
========

[](#archflow)

Package for Laravel module scaffold and architecture validation.

Install
-------

[](#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)
--------------------------------------

[](#recommended-sequence-install-and-use)

### 1. Validate bootstrap

[](#1-validate-bootstrap)

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

### 2. Generate module scaffold

[](#2-generate-module-scaffold)

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

### 3. Validate architecture and reports

[](#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

[](#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

[](#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)

[](#6-async-domain-events-worker-optional)

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

Commands
--------

[](#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
----------------

[](#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
----------------

[](#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
---------------------------

[](#default-archflowrun-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
-----------------

[](#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
---------

[](#estrutura)

- src/
- config/
- stubs/
- tools/
- docs/

Release
-------

[](#release)

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

Usage Manual
------------

[](#usage-manual)

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

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

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance88

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

18

Last Release

59d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cada3e03e58a114e7cbbaa2f305720975027bab357b670e4a922d2bebbe91a2a?d=identicon)[RodrygoMM](/maintainers/RodrygoMM)

---

Top Contributors

[![rodrygomujol](https://avatars.githubusercontent.com/u/243432336?v=4)](https://github.com/rodrygomujol "rodrygomujol (18 commits)")

---

Tags

laravelscaffoldlinterarchitecturequality-gate

### Embed Badge

![Health badge](/badges/ebdsystems-archflow/health.svg)

```
[![Health](https://phpackages.com/badges/ebdsystems-archflow/health.svg)](https://phpackages.com/packages/ebdsystems-archflow)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

954.0k](/packages/zidbih-laravel-deadlock)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[laravel/surveyor

Static analysis tool for Laravel applications.

8390.3k12](/packages/laravel-surveyor)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
