Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ body:
id: versions
attributes:
label: Versions
placeholder: Cordon Modulith 0.3.0, PHP 8.4, Laravel 13, nwidart/laravel-modules 13
placeholder: Cordon Modulith 0.3.1, PHP 8.4, Laravel 13, nwidart/laravel-modules 13
validations:
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/false_positive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ body:
id: versions
attributes:
label: Versions
placeholder: Cordon Modulith 0.3.0, PHP 8.4, Laravel 13
placeholder: Cordon Modulith 0.3.1, PHP 8.4, Laravel 13
validations:
required: true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to Cordon Modulith are documented here. The project follows

## [Unreleased]

## [0.3.1] - 2026-11-05

A patch release: class names are matched regardless of case, and `cordon:modules` tells you when an app is split by layer rather than by feature.

### Added
- `cordon:modules` warns when the detected modules look like the layers of a standard Laravel app (`Http`, `Models`, `Providers`...) rather than modules split by feature, and the installation guide explains which projects Cordon fits.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: ChrisAbner/Cordon-Modulith@v0.3.0
- uses: ChrisAbner/Cordon-Modulith@v0.3.1
```

The action runs `vendor/bin/cordon verify`, which does not boot your application, so the job needs no `.env`, database or `APP_KEY`. Or add `vendor/bin/cordon verify --format=github` (or `php artisan cordon:verify --format=github`) to an existing job. `--format=json` prints a machine readable report. The command exits with `1` when there are violations or no modules are found (`--allow-empty` passes while a project has none yet), `0` otherwise and `2` on invalid options. See [docs/ci.md](docs/ci.md) for the action inputs and a job per module.
Expand Down
4 changes: 2 additions & 2 deletions docs-site/guide/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: ChrisAbner/Cordon-Modulith@v0.3.0
- uses: ChrisAbner/Cordon-Modulith@v0.3.1
```

The action installs PHP and your Composer dependencies, then runs `vendor/bin/cordon verify --format=github`, which adds an annotation to the pull request for every violation. It does not boot your application, so the job needs no `.env`, database or `APP_KEY` (see [without booting Laravel](#without-booting-laravel)). Set `artisan: true` to run `php artisan cordon:verify` instead.
Expand Down Expand Up @@ -62,7 +62,7 @@ Teams that own modules can check only theirs:
module: [Billing, Catalog, Orders]
steps:
- uses: actions/checkout@v7
- uses: ChrisAbner/Cordon-Modulith@v0.3.0
- uses: ChrisAbner/Cordon-Modulith@v0.3.1
with:
args: --module=${{ matrix.module }}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: ChrisAbner/Cordon-Modulith@v0.3.0
- uses: ChrisAbner/Cordon-Modulith@v0.3.1
```

The action installs PHP and your Composer dependencies, then runs `vendor/bin/cordon verify --format=github`, which adds an annotation to the pull request for every violation. It does not boot your application, so the job needs no `.env`, database or `APP_KEY` (see [without booting Laravel](#without-booting-laravel)). Set `artisan: true` to run `php artisan cordon:verify` instead.
Expand Down Expand Up @@ -62,7 +62,7 @@ Teams that own modules can check only theirs:
module: [Billing, Catalog, Orders]
steps:
- uses: actions/checkout@v7
- uses: ChrisAbner/Cordon-Modulith@v0.3.0
- uses: ChrisAbner/Cordon-Modulith@v0.3.1
with:
args: --module=${{ matrix.module }}
```
Expand Down
Loading